lkml.org 
[lkml]   [2009]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-03-23 09:21    [from the cache]
©2003-2011 Jasper Spaans