Skip to content

Commit

Permalink
ftrace, ia64: Add recordmcount for ia64
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shaohua Li authored and Ingo Molnar committed Jan 14, 2009
1 parent f000120 commit 418071e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/recordmcount.pl
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,13 @@
$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";
}
Expand Down

0 comments on commit 418071e

Please sign in to comment.