| commit | 5452af664f6fba26b80eb2c8c4ceae2999d5cf56 | [log] [tgz] |
|---|---|---|
| author | Frederic Weisbecker <fweisbec@gmail.com> | Fri Mar 27 00:25:38 2009 +0100 |
| committer | Ingo Molnar <mingo@elte.hu> | Tue Apr 07 14:43:07 2009 +0200 |
| tree | 08fb64bfc3242ad96b65719a55424db729585f17 | |
| parent | a5dec5573f3c7e63f2f9b5852b9759ea342a5ff9 [diff] |
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>