Skip to content

Commit

Permalink
perf: Drop the frame reliablity check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Frederic Weisbecker committed Apr 4, 2010
1 parent a5e29ac commit 6f4dee0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86/kernel/cpu/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 6f4dee0

Please sign in to comment.