[lkml]   [2009]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/5] debugfs: function to know if debugfs is initialized

    * Frederic Weisbecker <> 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 <>
    > Signed-off-by: Frederic Weisbecker <>
    > ---
    > 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.


     \ /
      Last update: 2009-03-23 09:21    [W:0.020 / U:20.768 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site