Re: [PATCH v2 1/6] perf: Add interface to add general events tosysfs

From: Lin Ming
Date: Tue Jul 26 2011 - 01:51:19 EST


On Tue, 2011-07-26 at 12:42 +0800, Greg KH wrote:
> On Tue, Jul 26, 2011 at 09:06:07AM +0800, Lin Ming wrote:
> > On Mon, 2011-07-25 at 23:20 +0800, Greg KH wrote:
> > > 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?
> >
> > Now there are perf event source devices in sysfs.
>
> As of what kernel release?

Since v2.6.38-rc1, commit abe4340(perf: Sysfs enumeration)

--
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/