summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_event_profile.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-03-27 00:25:38 +0100
committerIngo Molnar <mingo@elte.hu>2009-04-07 14:43:07 +0200
commit5452af664f6fba26b80eb2c8c4ceae2999d5cf56 (patch)
tree08fb64bfc3242ad96b65719a55424db729585f17 /kernel/trace/trace_event_profile.c
parenttracing: use macros to denote usec and nsec per second (diff)
downloadlinux-5452af664f6fba26b80eb2c8c4ceae2999d5cf56.tar.xz
linux-5452af664f6fba26b80eb2c8c4ceae2999d5cf56.zip
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>
Diffstat (limited to 'kernel/trace/trace_event_profile.c')
-rw-r--r--kernel/trace/trace_event_profile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/trace_event_profile.c b/kernel/trace/trace_event_profile.c
index 22cba9970776..199de9c74229 100644
--- a/kernel/trace/trace_event_profile.c
+++ b/kernel/trace/trace_event_profile.c
@@ -28,4 +28,3 @@ void ftrace_profile_disable(int event_id)
return event->profile_disable(event);
}
}
-