Frederic Weisbecker
61c1917f47
perf events, x86/stacktrace: Make stack walking optional
...
The current print_context_stack helper that does the stack
walking job is good for usual stacktraces as it walks through
all the stack and reports even addresses that look unreliable,
which is nice when we don't have frame pointers for example.
But we have users like perf that only require reliable
stacktraces, and those may want a more adapted stack walker, so
lets make this function a callback in stacktrace_ops that users
can tune for their needs.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1261024834-5336-1-git-send-regression-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-12-17 09:56:19 +01:00
..
blktrace.c
Add a tracepoint for block request remapping
2009-10-01 21:19:34 +02:00
ftrace.c
function-graph: Allow writing the same val to set_graph_function
2009-12-13 18:37:26 +01:00
Kconfig
Merge branch 'tracing/hw-breakpoints' into perf/core
2009-11-21 14:07:23 +01:00
kmemtrace.c
kmemtrace: Fix up tracer registration
2009-10-01 11:53:44 +02:00
Makefile
Merge branch 'tracing/hw-breakpoints' into perf/core
2009-11-21 14:07:23 +01:00
power-traces.c
tracing/power: Remove two exports
2009-12-13 18:37:28 +01:00
ring_buffer.c
Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
2009-12-16 12:02:25 -08:00
ring_buffer_benchmark.c
ring-buffer-benchmark: Add parameters to set produce/consumer priorities
2009-11-25 14:14:15 -05:00
trace.c
Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
2009-12-16 12:02:25 -08:00
trace.h
Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
2009-12-16 12:02:25 -08:00
trace_boot.c
tracing: add filter event logic to special, mmiotrace and boot tracers
2009-09-12 23:34:04 -04:00
trace_branch.c
tracing: user local buffer variable for trace branch tracer
2009-10-07 21:53:41 -04:00
trace_clock.c
locking: Convert __raw_spin* functions to arch_spin*
2009-12-14 23:55:32 +01:00
trace_entries.h
hw-breakpoints: Rewrite the hw-breakpoints layer on top of perf events
2009-11-08 15:34:42 +01:00
trace_event_profile.c
tracing: Change event->profile_count to be int type
2009-12-13 18:37:28 +01:00
trace_events.c
tracing: Move a printk out of ftrace_raw_reg_event_foo()
2009-12-13 18:37:25 +01:00
trace_events_filter.c
tracing/filters: Fix to make system filter work
2009-10-29 08:53:20 +01:00
trace_export.c
tracing: Pull up calls to trace_define_common_fields()
2009-12-13 18:34:23 +01:00
trace_functions.c
tracing: switch function prints from %pf to %ps
2009-09-17 15:53:40 -04:00
trace_functions_graph.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
2009-12-14 09:58:24 -08:00
trace_hw_branches.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
2009-12-14 09:58:24 -08:00
trace_irqsoff.c
tracing: Add stack trace to irqsoff tracer
2009-12-11 13:19:51 -05:00
trace_kprobe.c
kprobe-tracer: Check new event/group name
2009-12-17 09:42:44 +01:00
trace_ksym.c
Merge branch 'linus' into tracing/urgent
2009-12-14 09:16:49 +01:00
trace_mmiotrace.c
tracing: add filter event logic to special, mmiotrace and boot tracers
2009-09-12 23:34:04 -04:00
trace_nop.c
trace_output.c
tracing: Add full state to trace_seq
2009-12-09 14:05:49 -05:00
trace_output.h
tracing: consolidate code between trace_output.c and trace_function_graph.c
2009-09-11 14:24:13 -04:00
trace_printk.c
tracing: Remove markers
2009-09-18 21:22:08 +02:00
trace_sched_switch.c
tracing: pass around ring buffer instead of tracer
2009-09-04 18:59:39 -04:00
trace_sched_wakeup.c
locking: Convert __raw_spin* functions to arch_spin*
2009-12-14 23:55:32 +01:00
trace_selftest.c
locking: Convert __raw_spin* functions to arch_spin*
2009-12-14 23:55:32 +01:00
trace_selftest_dynamic.c
trace_stack.c
locking: Convert __raw_spin* functions to arch_spin*
2009-12-14 23:55:32 +01:00
trace_stat.c
trace_stat: Fix missing entry in stat file
2009-08-17 11:25:09 +02:00
trace_stat.h
tracing/stat: Add stat_release() callback
2009-07-10 12:14:05 +02:00
trace_syscalls.c
tracing: Move a printk out of ftrace_raw_reg_event_foo()
2009-12-13 18:37:25 +01:00
trace_sysprof.c
perf events, x86/stacktrace: Make stack walking optional
2009-12-17 09:56:19 +01:00
trace_workqueue.c
tracing/workqueues: Add refcnt to struct cpu_workqueue_stats
2009-07-10 12:14:07 +02:00