X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2Frecordmcount.pl;h=7d631aaa0ae118bc41e9649d811beaf4ee4fe6ec;hb=342159ee394d;hp=8f6b13ae46bfc4855f0a31375a4ce7d42262b53c;hpb=27de8d597020755b6bdeca7036463ca6d0b4c295;p=linux-2.6-microblaze.git 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;