[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110725152038.GA23356@suse.de>
Date: Mon, 25 Jul 2011 08:20:38 -0700
From: Greg KH <gregkh@...e.de>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Lin Ming <ming.m.lin@...el.com>, Ingo Molnar <mingo@...e.hu>,
Andi Kleen <andi@...stfloor.org>,
Stephane Eranian <eranian@...gle.com>,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
linux-kernel <linux-kernel@...r.kernel.org>,
Kay Sievers <kay.sievers@...y.org>
Subject: Re: [PATCH v2 1/6] perf: Add interface to add general events to sysfs
On Mon, Jul 25, 2011 at 10:32:03AM +0200, Peter Zijlstra wrote:
> On Mon, 2011-07-25 at 16:11 +0800, Lin Ming wrote:
> > It's strange that I didn't find a way to check if a directory is present
> > in sysfs. Any hint?
>
> sysfs is voodoo for me, best I can come up with is, ask the sysfs
> folks ;-)
>
> Kay, Greg?
What are you trying to do here specifically?
sysfs is not ment to be walked from within the kernel, only from
userspace. Perhaps that is your problem here?
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists