]> git.karo-electronics.de Git - linux-beck.git/commitdiff
perf: Drop the frame reliablity check
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 18 Mar 2010 22:47:01 +0000 (23:47 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 4 Apr 2010 13:23:05 +0000 (15:23 +0200)
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>
arch/x86/kernel/cpu/perf_event.c

index 65e9c5efb61834e8faa3972bd76935e84ebe2482..353a174adb4478bd7ece980169d706cb0c7143d7 100644 (file)
@@ -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 = {