Steven Rostedt (VMware)
3f1756dc21
tracing: More reverting of "tracing: Centralize preemptirq tracepoints and unify their usage"
...
Joel Fernandes created a nice patch that cleaned up the duplicate hooks used
by lockdep and irqsoff latency tracer. It made both use tracepoints. But the
latency tracer is triggering warnings when using tracepoints to call into
the latency tracer's routines. Mainly, they can be called from NMI context.
If that happens, then the SRCU may not work properly because on some
architectures, SRCU is not safe to be called in both NMI and non-NMI
context.
This is a partial revert of the clean up patch c3bc8fd637 ("tracing:
Centralize preemptirq tracepoints and unify their usage") that adds back the
direct calls into the latency tracer. It also only calls the trace events
when not in NMI.
Link: http://lkml.kernel.org/r/20180809210654.622445925@goodmis.org
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Fixes: c3bc8fd637 ("tracing: Centralize preemptirq tracepoints and unify their usage")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-08-10 15:12:00 -04:00
..
blktrace.c
bpf_trace.c
bpf: guard bpf_get_current_cgroup_id() with CONFIG_CGROUPS
2018-06-04 21:52:26 +02:00
ftrace.c
ftrace: Use true and false for boolean values in ops_references_rec()
2018-08-01 21:15:31 -04:00
Kconfig
tracing: Centralize preemptirq tracepoints and unify their usage
2018-07-31 11:32:27 -04:00
Makefile
tracing: Centralize preemptirq tracepoints and unify their usage
2018-07-31 11:32:27 -04:00
power-traces.c
preemptirq_delay_test.c
tracing: preemptirq_delay_run() can be static
2018-07-27 17:58:34 -04:00
ring_buffer.c
ring-buffer: Make ring_buffer_record_is_set_on() return bool
2018-08-01 21:09:50 -04:00
ring_buffer_benchmark.c
rpm-traces.c
trace.c
tracing: Make tracer_tracing_is_on() return bool
2018-08-01 16:08:57 -04:00
trace.h
tracing: More reverting of "tracing: Centralize preemptirq tracepoints and unify their usage"
2018-08-10 15:12:00 -04:00
trace_benchmark.c
rcu: Rename cond_resched_rcu_qs() to cond_resched_tasks_rcu_qs()
2018-05-15 10:27:29 -07:00
trace_benchmark.h
trace_branch.c
trace_clock.c
trace_entries.h
tracing: Add trigger file for trace_markers tracefs/ftrace/print
2018-05-29 08:28:53 -04:00
trace_event_perf.c
trace_events.c
trace: Use rcu_dereference_raw for hooks from trace-event subsystem
2018-08-03 09:38:39 -04:00
trace_events_filter.c
tracing: Make create_filter() code match the comments
2018-07-03 18:14:40 -04:00
trace_events_filter_test.h
trace_events_hist.c
tracing: Avoid string overflow
2018-07-03 18:14:39 -04:00
trace_events_trigger.c
tracing: Make unregister_trigger() static
2018-07-26 10:50:18 -04:00
trace_export.c
tracing: Add trigger file for trace_markers tracefs/ftrace/print
2018-05-29 08:28:53 -04:00
trace_functions.c
trace_functions_graph.c
tracing: Fix missing return symbol in function_graph output
2018-07-03 18:47:11 -04:00
trace_hwlat.c
tracing: Do a WARN_ON() if start_thread() in hwlat is called when thread exists
2018-08-01 16:06:02 -04:00
trace_irqsoff.c
tracing: More reverting of "tracing: Centralize preemptirq tracepoints and unify their usage"
2018-08-10 15:12:00 -04:00
trace_kdb.c
trace_kprobe.c
tracing/kprobes: Fix within_notrace_func() to check only notrace functions
2018-08-02 12:34:41 -04:00
trace_kprobe_selftest.c
selftest/ftrace: Move kprobe selftest function to separate compile unit
2018-07-30 18:41:04 -04:00
trace_kprobe_selftest.h
selftest/ftrace: Move kprobe selftest function to separate compile unit
2018-07-30 18:41:04 -04:00
trace_mmiotrace.c
trace_nop.c
trace_output.c
tracing: Reorder display of TGID to be after PID
2018-07-12 19:56:25 -04:00
trace_output.h
trace_preemptirq.c
tracing: More reverting of "tracing: Centralize preemptirq tracepoints and unify their usage"
2018-08-10 15:12:00 -04:00
trace_printk.c
trace_probe.c
trace_probe.h
trace_sched_switch.c
trace_sched_wakeup.c
trace_selftest.c
trace_selftest_dynamic.c
trace_seq.c
trace_stack.c
tracing: Fix the file mode of stack tracer
2018-05-03 11:58:05 -04:00
trace_stat.c
trace_stat.h
trace_syscalls.c
trace_uprobe.c
bpf: introduce bpf subcommand BPF_TASK_FD_QUERY
2018-05-24 18:18:19 -07:00
tracing_map.c
treewide: Use array_size() in vmalloc()
2018-06-12 16:19:22 -07:00
tracing_map.h