android_kernel_xiaomi_sm8350/kernel/trace
Frederic Weisbecker 5452af664f tracing/ftrace: factorize the tracing files creation
Impact: cleanup

Most of the tracing files creation follow the same pattern:

ret = debugfs_create_file(...)
if (!ret)
	pr_warning("Couldn't create ... entry\n")

Unify it!

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1238109938-11840-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2009-04-07 14:43:07 +02:00
..
blktrace.c blktrace: fix pdu_len when tracing packet command requests 2009-04-03 15:29:26 +02:00
events.c
ftrace.c tracing/ftrace: factorize the tracing files creation 2009-04-07 14:43:07 +02:00
Kconfig Merge branch 'linus' into tracing/core 2009-04-07 13:47:45 +02:00
kmemtrace.c kmemtrace: small cleanups 2009-04-03 12:23:09 +02:00
Makefile
ring_buffer.c tracing/ftrace: factorize the tracing files creation 2009-04-07 14:43:07 +02:00
trace_boot.c tracing: use macros to denote usec and nsec per second 2009-04-07 14:43:06 +02:00
trace_branch.c
trace_clock.c
trace_event_profile.c tracing/ftrace: factorize the tracing files creation 2009-04-07 14:43:07 +02:00
trace_event_types.h
trace_events_filter.c
trace_events_stage_1.h
trace_events_stage_2.h
trace_events_stage_3.h
trace_events.c tracing: filter fix for TRACE_EVENT_FORMAT events 2009-03-26 09:13:14 +01:00
trace_export.c ftrace: Correct a text align for event format output 2009-04-07 14:02:42 +02:00
trace_functions_graph.c function-graph: add option to calculate graph time or not 2009-03-24 23:41:11 -04:00
trace_functions.c
trace_hw_branches.c
trace_irqsoff.c
trace_mmiotrace.c tracing: use macros to denote usec and nsec per second 2009-04-07 14:43:06 +02:00
trace_nop.c
trace_output.c Merge branch 'tracing/urgent' into tracing/ftrace 2009-04-07 14:41:17 +02:00
trace_output.h Merge branch 'linus' into tracing/core 2009-04-07 13:47:45 +02:00
trace_power.c
trace_printk.c tracing/ftrace: factorize the tracing files creation 2009-04-07 14:43:07 +02:00
trace_sched_switch.c ftrace: Add check of sched_stopped for probe_sched_wakeup 2009-04-07 14:01:11 +02:00
trace_sched_wakeup.c tracing: remove CALLER_ADDR2 from wakeup tracer 2009-04-07 13:58:54 +02:00
trace_selftest_dynamic.c
trace_selftest.c
trace_stack.c tracing/ftrace: factorize the tracing files creation 2009-04-07 14:43:07 +02:00
trace_stat.c Merge branch 'linus' into tracing/core 2009-04-07 13:47:45 +02:00
trace_stat.h
trace_syscalls.c
trace_sysprof.c tracing/ftrace: factorize the tracing files creation 2009-04-07 14:43:07 +02:00
trace_workqueue.c Merge branch 'linus' into tracing/core 2009-04-07 13:47:45 +02:00
trace.c tracing/ftrace: factorize the tracing files creation 2009-04-07 14:43:07 +02:00
trace.h tracing/ftrace: factorize the tracing files creation 2009-04-07 14:43:07 +02:00