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

From: Ingo Molnar
Date: Thu Mar 04 2010 - 16:18:09 EST

* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Thu, 2010-03-04 at 16:36 +0100, Ingo Molnar wrote:
> > > This should be done anyway. But it would also let you decouple ftrace trace
> > > events from perf trace events but still let the two use the same trace
> > > points.
> >
> > I think the main thing would be to have a decoupled /eventfs - basically
> > /debug/tracing/events/ moved to "/eventfs" or maybe to "/proc/events/". This
> > would make them available more widely, and in a standardized way.
> I know Greg once proposed a /tracefs directory. I don't really care how
> things work as long as we don't lose functionality. Perhaps we should have a
> standard tracefs dir, and have:

No, we want to decouple it from 'tracing'. It's events, not tracing. Events
are more broader, they can be used for RAS, profiling, counting, etc. - not
just tracing.

Furthermore, we only want /debug/tracing/events really, not the various
dynamic ftrace controls - those could remain in /debug/tracing/.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at