summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/recordmcount.pl
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/scripts/recordmcount.pl')
-rwxr-xr-xkernel/scripts/recordmcount.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/scripts/recordmcount.pl b/kernel/scripts/recordmcount.pl
index 826470d7f..96e2486a6 100755
--- a/kernel/scripts/recordmcount.pl
+++ b/kernel/scripts/recordmcount.pl
@@ -263,7 +263,8 @@ if ($arch eq "x86_64") {
} elsif ($arch eq "powerpc") {
$local_regex = "^[0-9a-fA-F]+\\s+t\\s+(\\.?\\S+)";
- $function_regex = "^([0-9a-fA-F]+)\\s+<(\\.?.*?)>:";
+ # See comment in the sparc64 section for why we use '\w'.
+ $function_regex = "^([0-9a-fA-F]+)\\s+<(\\.?\\w*?)>:";
$mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s\\.?_mcount\$";
if ($bits == 64) {