Re: [PATCH] tracing/ftrace: factorize the tracing files creation

From: Steven Rostedt
Date: Fri Apr 03 2009 - 12:25:13 EST





On Fri, 27 Mar 2009, Frederic Weisbecker wrote:

> 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@xxxxxxx>
> Signed-off-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>

Thanks, applied.

Note, I only applied it to tracing/ftrace, which does not have the
profiler code. That part of the patch has been rejected.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/