Steven Rostedt (Red Hat)
23ea9c4dda
ftrace: Fix the output of enabled_functions debug file
...
The enabled_functions debugfs file was created to be able to see
what functions have been modified from nops to calling a tracer.
The current method uses the counter in the function record.
As when a ftrace_ops is registered to a function, its count
increases. But that doesn't mean that the function is actively
being traced. /proc/sys/kernel/ftrace_enabled can be set to zero
which would disable it, as well as something can go wrong and
we can think its enabled when only the counter is set.
The record's FTRACE_FL_ENABLED flag is set or cleared when its
function is modified. That is a much more accurate way of knowing
what function is enabled or not.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2013-05-09 20:16:16 -04:00
..
blktrace.c
Tracing updates for Linux 3.10
2013-04-29 13:55:38 -07:00
ftrace.c
ftrace: Fix the output of enabled_functions debug file
2013-05-09 20:16:16 -04:00
Kconfig
ring-buffer: Select IRQ_WORK
2013-05-03 19:24:17 -04:00
Makefile
power-traces.c
ring_buffer.c
Tracing updates for Linux 3.10
2013-04-29 13:55:38 -07:00
ring_buffer_benchmark.c
rpm-traces.c
trace.c
tracing: Fix small merge bug
2013-04-30 07:23:08 -07:00
trace.h
tracing: Move find_event_field() into trace_events.c
2013-03-15 13:22:07 -04:00
trace_branch.c
tracing: Fix the branch tracer that broke with buffer change
2013-03-15 00:35:54 -04:00
trace_clock.c
tracing: Add "uptime" trace clock that uses jiffies
2013-03-15 00:36:09 -04:00
trace_entries.h
tracing: Add trace_puts() for even faster trace_printk() tracing
2013-03-15 00:35:55 -04:00
trace_event_perf.c
trace_events.c
tracing: Add helper function trace_create_new_event() to remove duplicate code
2013-05-09 20:14:49 -04:00
trace_events_filter.c
tracing: Move find_event_field() into trace_events.c
2013-03-15 13:22:07 -04:00
trace_events_filter_test.h
trace_export.c
tracing: Fix some section mismatch warnings
2013-03-15 00:34:54 -04:00
trace_functions.c
tracing: Add function probe to trigger stack traces
2013-03-15 00:36:05 -04:00
trace_functions_graph.c
tracing: Consolidate max_tr into main trace_array structure
2013-03-15 00:35:40 -04:00
trace_irqsoff.c
tracing: Add function-trace option to disable function tracing of latency tracers
2013-03-15 00:36:08 -04:00
trace_kdb.c
tracing: Consolidate max_tr into main trace_array structure
2013-03-15 00:35:40 -04:00
trace_kprobe.c
tracing/kprobes: Fix to increment return event probe hit-count
2013-05-09 20:13:51 -04:00
trace_mmiotrace.c
tracing: Consolidate max_tr into main trace_array structure
2013-03-15 00:35:40 -04:00
trace_nop.c
trace_output.c
Tracing updates for Linux 3.10
2013-04-29 13:55:38 -07:00
trace_output.h
tracing: Rename trace_event_mutex to trace_event_sem
2013-03-15 13:22:10 -04:00
trace_printk.c
trace_probe.c
trace_probe.h
trace_sched_switch.c
tracing: Consolidate max_tr into main trace_array structure
2013-03-15 00:35:40 -04:00
trace_sched_wakeup.c
tracing: Add function-trace option to disable function tracing of latency tracers
2013-03-15 00:36:08 -04:00
trace_selftest.c
tracing: Fix ftrace_dump()
2013-03-15 19:24:56 -04:00
trace_selftest_dynamic.c
trace_stack.c
Tracing updates for Linux 3.10
2013-04-29 13:55:38 -07:00
trace_stat.c
tracing: Check return value of tracing_init_dentry()
2013-04-12 23:02:32 -04:00
trace_stat.h
trace_syscalls.c
tracing: Fix comment about prefix in arch_syscall_match_sym_name()
2013-03-15 13:22:09 -04:00
trace_uprobe.c
uprobes/perf: Avoid uprobe_apply() whenever possible
2013-02-08 18:28:08 +01:00