From: Frederic Weisbecker Date: Thu, 18 Mar 2010 22:47:01 +0000 (+0100) Subject: perf: Drop the frame reliablity check X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f4dee06fbf0133917f3d76fa3fb50e18b10c1f5;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git perf: Drop the frame reliablity check It is useless now that we have a pure stack frame walker, as given addr are always reliable. Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Arnaldo Carvalho de Melo Cc: Paul Mackerras Cc: Ingo Molnar --- diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index 65e9c5efb618..353a174adb44 100644 --- a/arch/x86/kernel/cpu/perf_event.c +++ b/arch/x86/kernel/cpu/perf_event.c @@ -1602,8 +1602,7 @@ static void backtrace_address(void *data, unsigned long addr, int reliable) { struct perf_callchain_entry *entry = data; - if (reliable) - callchain_store(entry, addr); + callchain_store(entry, addr); } static const struct stacktrace_ops backtrace_ops = {