diff options
author | Shaohua Li <shaohua.li@intel.com> | 2009-01-09 11:29:44 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-14 12:11:22 +0100 |
commit | 418071eb6adbfd3980b2f57f7df8e03921e3f1d7 (patch) | |
tree | 9b58730a3e6f6a4053f41d39aa954acafea4a5be /scripts | |
parent | f00012074b1a1a67d9c8603617bbbab267347ca6 (diff) | |
download | kernel-crypto-418071eb6adbfd3980b2f57f7df8e03921e3f1d7.tar.gz kernel-crypto-418071eb6adbfd3980b2f57f7df8e03921e3f1d7.tar.xz kernel-crypto-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 070042b4ccd..2ded5c8e6b8 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"; } |