aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2010-03-18 18:47:01 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2010-04-04 09:23:05 -0400
commit6f4dee06fbf0133917f3d76fa3fb50e18b10c1f5 (patch)
tree4d430be371ada43306b51b690ec7ca4f46425684 /arch/x86
parenta5e29aca02fcecd086ac160ea29244cae6b4305e (diff)
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 <fweisbec@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/cpu/perf_event.c3
1 files changed, 1 insertions, 2 deletions
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)
1602{ 1602{
1603 struct perf_callchain_entry *entry = data; 1603 struct perf_callchain_entry *entry = data;
1604 1604
1605 if (reliable) 1605 callchain_store(entry, addr);
1606 callchain_store(entry, addr);
1607} 1606}
1608 1607
1609static const struct stacktrace_ops backtrace_ops = { 1608static const struct stacktrace_ops backtrace_ops = {