author: Steven Rostedt <rostedt@goodmis.org> 2021-10-14 14:35:07 -0400
committer: Steven Rostedt (VMware) <rostedt@goodmis.org> 2021-10-15 22:44:16 -0400
commit: be358af1191b1b2fedebd8f3421cafdc8edacc7d
parent: 0282b0f0126489af5b3993e52d1a05e6c7ebc4e8
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index 8f6b13ae46bf..7d631aaa0ae1 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -189,7 +189,7 @@ if ($arch =~ /(x86(_64)?)|(i386)/) {
$local_regex = "^[0-9a-fA-F]+\\s+t\\s+(\\S+)";
$weak_regex = "^[0-9a-fA-F]+\\s+([wW])\\s+(\\S+)";
$section_regex = "Disassembly of section\\s+(\\S+):";
-$function_regex = "^([0-9a-fA-F]+)\\s+<(.*?)>:";
+$function_regex = "^([0-9a-fA-F]+)\\s+<([^^]*?)>:";
$mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s(mcount|__fentry__)\$";
$section_type = '@progbits';
$mcount_adjust = 0;