From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757039AbZCWISX (ORCPT ); Mon, 23 Mar 2009 04:18:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755266AbZCWISN (ORCPT ); Mon, 23 Mar 2009 04:18:13 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:46455 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752245AbZCWISN (ORCPT ); Mon, 23 Mar 2009 04:18:13 -0400 Date: Mon, 23 Mar 2009 09:18:05 +0100 From: Ingo Molnar To: Frederic Weisbecker , Greg KH Cc: Steven Rostedt , LKML Subject: Re: [PATCH 2/5] debugfs: function to know if debugfs is initialized Message-ID: <20090323081805.GA18837@elte.hu> References: <1237759847-21025-1-git-send-email-fweisbec@gmail.com> <1237759847-21025-2-git-send-email-fweisbec@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1237759847-21025-2-git-send-email-fweisbec@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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. Ingo