diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/recordmcount.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 68841d01162c..f71666899245 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl | |||
| @@ -397,6 +397,9 @@ if ($arch eq "x86_64") { | |||
| 397 | } elsif ($arch eq "nds32") { | 397 | } elsif ($arch eq "nds32") { |
| 398 | $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_NDS32_HI20_RELA\\s+_mcount\$"; | 398 | $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_NDS32_HI20_RELA\\s+_mcount\$"; |
| 399 | $alignment = 2; | 399 | $alignment = 2; |
| 400 | } elsif ($arch eq "csky") { | ||
| 401 | $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_CKCORE_PCREL_JSR_IMM26BY2\\s+_mcount\$"; | ||
| 402 | $alignment = 2; | ||
| 400 | } else { | 403 | } else { |
| 401 | die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD"; | 404 | die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD"; |
| 402 | } | 405 | } |
