Re: [PATCH 2/5] debugfs: function to know if debugfs is initialized
From: Ingo Molnar
Date: Mon Mar 23 2009 - 12:08:38 EST
* Greg KH <gregkh@xxxxxxx> wrote:
> On Mon, Mar 23, 2009 at 09:18:05AM +0100, Ingo Molnar wrote:
> >
> > * Frederic Weisbecker <fweisbec@xxxxxxxxx> 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@xxxxxxx>
> > > Signed-off-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> > > ---
> > > 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?
>
> This patch is fine with me, feel free to add:
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
> to it.
>
> > 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.
>
> Yes, that is fine, please take it through the tracing tree.
Thanks Greg!
Ingo
--
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/