Steven Rostedt
6249687f76
tracing: Add a counter clock for those that do not trust clocks
...
When debugging tight race conditions, it can be helpful to have a
synchronized tracing method. Although in most cases the global clock
provides this functionality, if timings is not the issue, it is more
comforting to know that the order of events really happened in a precise
order.
Instead of using a clock, add a "counter" that is simply an incrementing
atomic 64bit counter that orders the events as they are perceived to
happen.
The trace_clock_counter() is added from the attempt by Peter Zijlstra
trying to convert the trace_clock_global() to it. I took Peter's counter
code and made trace_clock_counter() instead, and added it to the choice
of clocks. Just echo counter > /debug/tracing/trace_clock to activate
it.
Requested-by: Thomas Gleixner <tglx@linutronix.de>
Requested-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Reviewed-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2011-09-19 11:35:58 -04:00
..
blktrace.c
block: make unplug timer trace event correspond to the schedule() unplug
2011-04-16 13:51:05 +02:00
ftrace.c
Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core
2011-07-21 09:32:40 +02:00
Kconfig
ftrace: Build without frame pointers on Microblaze
2011-04-21 09:06:24 -04:00
Makefile
tracing/filter: Add startup tests for events filter
2011-08-19 14:35:59 -04:00
power-traces.c
ring_buffer.c
trace: Add ring buffer stats to measure rate of events
2011-08-30 12:27:45 -04:00
ring_buffer_benchmark.c
tracing: Use NUMA allocation for per-cpu ring buffer pages
2011-06-14 22:04:39 -04:00
trace.c
tracing: Add a counter clock for those that do not trust clocks
2011-09-19 11:35:58 -04:00
trace.h
tracing/filter: Add startup tests for events filter
2011-08-19 14:35:59 -04:00
trace_branch.c
trace_clock.c
tracing: Add a counter clock for those that do not trust clocks
2011-09-19 11:35:58 -04:00
trace_entries.h
tracing: Have dynamic size event stack traces
2011-07-14 16:36:53 -04:00
trace_event_perf.c
trace_events.c
Merge branch 'perf/urgent' into perf/core
2011-07-21 09:29:21 +02:00
trace_events_filter.c
tracing: Add preempt disable for filter self test
2011-08-30 12:27:07 -04:00
trace_events_filter_test.h
tracing/filter: Add startup tests for events filter
2011-08-19 14:35:59 -04:00
trace_export.c
tracing: Replace trace_event struct array with pointer array
2011-02-02 21:37:13 -05:00
trace_functions.c
ftrace: Fix regression of :mod:module function enabling
2011-07-07 11:30:08 -04:00
trace_functions_graph.c
tracing: Still trace filtered irq functions when irq trace is disabled
2011-07-07 22:26:27 -04:00
trace_irqsoff.c
tracing, function_graph: Remove dependency of abstime and duration fields on latency
2011-06-14 22:48:47 -04:00
trace_kdb.c
trace_kprobe.c
tracing/kprobe: Update symbol reference when loading module
2011-07-15 15:45:32 -04:00
trace_mmiotrace.c
atomic: use <linux/atomic.h>
2011-07-26 16:49:47 -07:00
trace_nop.c
trace_output.c
tracing: Have dynamic size event stack traces
2011-07-14 16:36:53 -04:00
trace_output.h
trace_printk.c
tracing: Clean up tb_fmt to not give faulty compile warning
2011-08-10 20:36:32 -04:00
trace_sched_switch.c
tracing: Remove obsolete sched_switch tracer
2011-02-08 17:14:56 -05:00
trace_sched_wakeup.c
tracing, function_graph: Remove dependency of abstime and duration fields on latency
2011-06-14 22:48:47 -04:00
trace_selftest.c
ftrace: Add self-tests for multiple function trace users
2011-05-18 19:24:51 -04:00
trace_selftest_dynamic.c
ftrace: Add self-tests for multiple function trace users
2011-05-18 19:24:51 -04:00
trace_stack.c
tracing: Convert to kstrtoul_from_user
2011-06-14 22:48:50 -04:00
trace_stat.c
trace_stat.h
trace_syscalls.c
tracing/syscalls: Early terminate search for sys_ni_syscall
2011-02-07 21:30:14 -05:00
trace_workqueue.c