Steven Rostedt
e1e232ca6b
tracing: Add trace_clock=<clock> kernel parameter
...
Being able to change the trace clock at boot can be advantageous if
you need a better source of when things happen across CPUs. The default
trace clock is the fastest, but it uses local clocks which may not be
synced across CPUs and it does not let you know when events took place
with respect to events on other CPUs.
The global trace clock can help in this case, and if you do not care
about timings, the counter "clock" is the best, as that is just a simple
atomic counter that is incremented for every event.
Usage is to add "trace_clock=counter" on the kernel command line. You
can replace counter with "global" or any of the clocks listed in
/sys/kernel/debug/tracing/trace_clock
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Appreciated-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2014-02-20 12:32:54 -05:00
..
blktrace.c
tracing: Pass trace_array to set_flag callback
2014-02-20 12:13:07 -05:00
ftrace.c
ftrace: Allow for function tracing instance to filter functions
2014-02-20 12:29:07 -05:00
Kconfig
Makefile
tracing: Add basic event trigger framework
2013-12-20 18:40:22 -05:00
power-traces.c
ring_buffer.c
ring-buffer: Fix first commit on sub-buffer having non-zero delta
2014-02-11 13:38:54 -05:00
ring_buffer_benchmark.c
rpm-traces.c
trace.c
tracing: Add trace_clock=<clock> kernel parameter
2014-02-20 12:32:54 -05:00
trace.h
ftrace: Allow for function tracing instance to filter functions
2014-02-20 12:29:07 -05:00
trace_branch.c
tracing: Update event filters for multibuffer
2013-11-05 16:50:20 -05:00
trace_clock.c
trace_entries.h
trace_event_perf.c
perf/trace: Properly use u64 to hold event_id
2013-11-19 16:57:44 +01:00
trace_events.c
tracing: Move ftrace_event_file() out of DYNAMIC_FTRACE ifdef
2013-12-21 22:02:17 -05:00
trace_events_filter.c
tracing: Add and use generic set_trigger_filter() implementation
2013-12-21 22:02:17 -05:00
trace_events_filter_test.h
trace_events_trigger.c
tracing: Show available event triggers when no trigger is set
2014-01-09 21:20:32 -05:00
trace_export.c
tracing: Update event filters for multibuffer
2013-11-05 16:50:20 -05:00
trace_functions.c
ftrace: Allow for function tracing instance to filter functions
2014-02-20 12:29:07 -05:00
trace_functions_graph.c
tracing: Pass trace_array to set_flag callback
2014-02-20 12:13:07 -05:00
trace_irqsoff.c
tracing: Pass trace_array to flag_changed callback
2014-02-20 12:13:08 -05:00
trace_kdb.c
trace_kprobe.c
tracing/uprobes: Support ftrace_event_file base multibuffer
2014-02-20 12:30:09 -05:00
trace_mmiotrace.c
tracing: Update event filters for multibuffer
2013-11-05 16:50:20 -05:00
trace_nop.c
tracing: Set up infrastructure to allow tracers for instances
2014-02-20 12:13:10 -05:00
trace_output.c
ftrace, sched: Add TRACE_FLAG_PREEMPT_RESCHED
2013-11-11 12:43:39 +01:00
trace_output.h
trace_printk.c
trace_probe.c
tracing/uprobes: Add @+file_offset fetch method
2014-01-02 20:57:05 -05:00
trace_probe.h
tracing/uprobes: Support ftrace_event_file base multibuffer
2014-02-20 12:30:09 -05:00
trace_sched_switch.c
tracing: Update event filters for multibuffer
2013-11-05 16:50:20 -05:00
trace_sched_wakeup.c
tracing: Pass trace_array to flag_changed callback
2014-02-20 12:13:08 -05:00
trace_selftest.c
sched/deadline: Add latency tracing for SCHED_DEADLINE tasks
2014-01-13 13:41:11 +01:00
trace_selftest_dynamic.c
trace_stack.c
tracing: Add generic tracing_lseek() function
2014-01-02 16:17:12 -05:00
trace_stat.c
trace_stat.h
trace_syscalls.c
tracing: Consolidate event trigger code
2014-01-09 21:20:07 -05:00
trace_uprobe.c
tracing/uprobes: Support mix of ftrace and perf
2014-02-20 12:30:11 -05:00