Messages in this thread | | | Date | Mon, 23 Mar 2009 09:18:05 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 2/5] debugfs: function to know if debugfs is initialized |
| |
* Frederic Weisbecker <fweisbec@gmail.com> wrote:
> With ftrace, some tracers are registered in early initcalls > and attempt to create files on the debugfs filesystem. > Depending on when they are activated, they can try to create their > file at any time. Some checks can be done on the tracing area > but providing a helper to know if debugfs is registered make it > really more easy. > > Cc: Greg Kroah-Hartman <gregkh@suse.de> > Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> > --- > fs/debugfs/inode.c | 16 ++++++++++++++++ > include/linux/debugfs.h | 8 ++++++++ > 2 files changed, 24 insertions(+), 0 deletions(-)
Greg, is this patch is fine with you?
If yes, then would you mind if we picked this up into the tracing tree - as a subsequent fix-patch relies on it. There's no debugfs patches pending that i can see that would conflict with this.
Ingo
| |