Re: [RFC][PATCH 2/3] perf: Take a hot regs snapshot for traceevents

From: Frederic Weisbecker
Date: Thu Mar 04 2010 - 17:09:50 EST


On Thu, Mar 04, 2010 at 05:02:48PM -0500, Steven Rostedt wrote:
> On Thu, 2010-03-04 at 22:37 +0100, Frederic Weisbecker wrote:
>
> > > I can keep the debug/tracing/events/* as is too, where the format and id
> > > just call the same routines that the eventfs calls, but add the enable
> > > and filter to be specific to ftrace.
> >
> >
> > The /debug/tracing/events could contain symlinks for the format
> > files so that the rest can stay there.
>
> Symlinks buy us nothing but headaches. This is a pseudo filesystem, we
> can use the same code that generates the file with no extra overhead.


Yeah, you're right.

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