diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2010-03-19 01:47:01 +0300 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-04-04 17:23:05 +0400 |
commit | 6f4dee06fbf0133917f3d76fa3fb50e18b10c1f5 (patch) | |
tree | 4d430be371ada43306b51b690ec7ca4f46425684 /arch | |
parent | a5e29aca02fcecd086ac160ea29244cae6b4305e (diff) | |
download | linux-6f4dee06fbf0133917f3d76fa3fb50e18b10c1f5.tar.xz |
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')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event.c | 3 |
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) { struct perf_callchain_entry *entry = data; - if (reliable) - callchain_store(entry, addr); + callchain_store(entry, addr); } static const struct stacktrace_ops backtrace_ops = { |