Steven Rostedt (Red Hat)
ff305ded9f
tracing: Return error if register_ftrace_function_probe() fails for event_enable_func()
...
register_ftrace_function_probe() returns the number of functions
it registered, which can be zero, it can also return a negative number
if something went wrong. But event_enable_func() only checks for
the case that it didn't register anything, it needs to also check
for the case that something went wrong and return that error code
as well.
Added some comments about the code as well, to make it more
understandable.
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2013-05-09 11:30:26 -04:00
..
blktrace.c
Tracing updates for Linux 3.10
2013-04-29 13:55:38 -07:00
ftrace.c
Tracing updates for Linux 3.10
2013-04-29 13:55:38 -07:00
Kconfig
ring-buffer: Select IRQ_WORK
2013-05-03 19:24:17 -04:00
Makefile
power-traces.c
PM / tracing: remove deprecated power trace API
2013-01-26 00:39:12 +01:00
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: Return error if register_ftrace_function_probe() fails for event_enable_func()
2013-05-09 11:30:26 -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: Use irq_work for wake ups and remove *_nowake_*() functions
2012-11-02 10:21:52 -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
tracing: Replace strict_strto* with kstrto*
2012-10-31 16:45:23 -04:00
trace_probe.h
uprobes/tracing: Introduce is_trace_uprobe_enabled()
2013-02-08 18:24:30 +01:00
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