You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Steven Rostedt
db4c75cbeb
tracing: Fix stacktrace of latency tracers (irqsoff and friends)
...
While debugging a latency with someone on IRC (mirage335) on #linux-rt (OFTC),
we discovered that the stacktrace output of the latency tracers
(preemptirqsoff) was empty.
This bug was caused by the creation of the dynamic length stack trace
again (like commit 12b5da3
"tracing: Fix ent_size in trace output" was).
This bug is caused by the latency tracers requiring the next event
to determine the time between the current event and the next. But by
grabbing the next event, the iter->ent_size is set to the next event
instead of the current one. As the stacktrace event is the last event,
this makes the ent_size zero and causes nothing to be printed for
the stack trace. The dynamic stacktrace uses the ent_size to determine
how much of the stack can be printed. The ent_size of zero means
no stack.
The simple fix is to save the iter->ent_size before finding the next event.
Note, mirage335 asked to remain anonymous from LKML and git, so I will
not add the Reported-by and Tested-by tags, even though he did report
the issue and tested the fix.
Cc: stable@vger.kernel.org # 3.1+
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
13 years ago
..
Kconfig
tracing: Do not select FRAME_POINTER on PPC
13 years ago
Makefile
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
13 years ago
blktrace.c
simple_open: automatically convert to simple_open()
13 years ago
ftrace.c
ftrace: Fix function_graph for archs that test ftrace_trace_function
13 years ago
power-traces.c
perf: Clean up power events by introducing new, more generic ones
14 years ago
ring_buffer.c
tracing/ring-buffer: Only have tracing_on disable tracing buffers
13 years ago
ring_buffer_benchmark.c
tracing: Use NUMA allocation for per-cpu ring buffer pages
14 years ago
rpm-traces.c
PM / Runtime: Introduce trace points for tracing rpm_* functions
14 years ago
trace.c
tracing: Fix regression with tracing_on
13 years ago
trace.h
tracing: Fix build breakage without CONFIG_PERF_EVENTS (again)
13 years ago
trace_branch.c
tracing: Allow events to share their print functions
15 years ago
trace_clock.c
tracing: Add a counter clock for those that do not trust clocks
14 years ago
trace_entries.h
Merge branch 'tip/perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace into perf/urgent
13 years ago
trace_event_perf.c
ftrace, perf: Add filter support for function trace event
13 years ago
trace_events.c
ftrace, perf: Add add/del tracepoint perf registration actions
13 years ago
trace_events_filter.c
ftrace, perf: Add filter support for function trace event
13 years ago
trace_events_filter_test.h
tracing/filter: Add startup tests for events filter
14 years ago
trace_export.c
Merge branch 'tip/perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace into perf/urgent
13 years ago
trace_functions.c
ftrace: Fix regression of :mod:module function enabling
14 years ago
trace_functions_graph.c
tracing: Still trace filtered irq functions when irq trace is disabled
14 years ago
trace_irqsoff.c
Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace into perf/core
13 years ago
trace_kdb.c
kdb,ftdump: Remove reference to internal kdb include
14 years ago
trace_kprobe.c
ftrace, perf: Add add/del tracepoint perf registration actions
13 years ago
trace_mmiotrace.c
atomic: use <linux/atomic.h>
14 years ago
trace_nop.c
…
trace_output.c
tracing: Fix stacktrace of latency tracers (irqsoff and friends)
13 years ago
trace_output.h
tracing: Allow events to share their print functions
15 years ago
trace_printk.c
tracing: Clean up tb_fmt to not give faulty compile warning
14 years ago
trace_sched_switch.c
tracing: Remove obsolete sched_switch tracer
14 years ago
trace_sched_wakeup.c
tracing/latency: Fix header output for latency tracers
13 years ago
trace_selftest.c
ftrace: Add self-tests for multiple function trace users
14 years ago
trace_selftest_dynamic.c
ftrace: Add self-tests for multiple function trace users
14 years ago
trace_stack.c
tracing: Have stack tracing set filtered functions at boot
13 years ago
trace_stat.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
15 years ago
trace_stat.h
…
trace_syscalls.c
ftrace, perf: Add add/del tracepoint perf registration actions
13 years ago
trace_workqueue.c
jump label: Initialize workqueue tracepoints *before* they are registered
15 years ago