aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2009-01-08 22:29:44 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-14 06:11:22 -0500
commit418071eb6adbfd3980b2f57f7df8e03921e3f1d7 (patch)
tree9b58730a3e6f6a4053f41d39aa954acafea4a5be /scripts
parentf00012074b1a1a67d9c8603617bbbab267347ca6 (diff)
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-xscripts/recordmcount.pl7
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") {
206 $alignment = 2; 206 $alignment = 2;
207 $section_type = '%progbits'; 207 $section_type = '%progbits';
208 208
209} elsif ($arch eq "ia64") {
210 $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$";
211 $type = "data8";
212
213 if ($is_module eq "0") {
214 $cc .= " -mconstant-gp";
215 }
209} else { 216} else {
210 die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD"; 217 die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD";
211} 218}