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>
This commit is contained in:
parent
f00012074b
commit
418071eb6a
1 changed files with 7 additions and 0 deletions
|
@ -206,6 +206,13 @@ if ($arch eq "x86_64") {
|
||||||
$alignment = 2;
|
$alignment = 2;
|
||||||
$section_type = '%progbits';
|
$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 {
|
} else {
|
||||||
die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD";
|
die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue