Add recordmcount for ia64. Signed-off-by: Shaohua Li <shaohua.li@xxxxxxxxx> --- scripts/recordmcount.pl | 7 +++++++ 1 file changed, 7 insertions(+) Index: linux/scripts/recordmcount.pl =================================================================== --- linux.orig/scripts/recordmcount.pl 2009-01-09 09:53:56.000000000 +0800 +++ linux/scripts/recordmcount.pl 2009-01-09 09:55:55.000000000 +0800 @@ -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"; } -- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |