diff options
author | Shaohua Li <shaohua.li@intel.com> | 2009-01-09 04:29:44 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-14 12:11:22 +0100 |
commit | 418071eb6adbfd3980b2f57f7df8e03921e3f1d7 (patch) | |
tree | 9b58730a3e6f6a4053f41d39aa954acafea4a5be /scripts | |
parent | ftrace, ia64: Add macro for ftrace_caller (diff) | |
download | linux-418071eb6adbfd3980b2f57f7df8e03921e3f1d7.tar.xz linux-418071eb6adbfd3980b2f57f7df8e03921e3f1d7.zip |
ftrace, ia64: Add recordmcount for ia64
Add recordmcount for ia64.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/recordmcount.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 070042b4ccd5..2ded5c8e6b85 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -206,6 +206,13 @@ if ($arch eq "x86_64") { $alignment = 2; $section_type = '%progbits'; +} elsif ($arch eq "ia64") { + $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$"; + $type = "data8"; + + if ($is_module eq "0") { + $cc .= " -mconstant-gp"; + } } else { die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD"; } |