Re: [tip:perf/urgent] perf sched: Fix list of events, droppingunsupported ':r' modifier

From: Frederic Weisbecker
Date: Wed Aug 03 2011 - 07:37:54 EST


On Wed, Aug 03, 2011 at 12:59:21PM +0200, Peter Zijlstra wrote:
> On Fri, 2011-01-14 at 07:25 +0000, tip-bot for Stephane Eranian wrote:
> > Looks to me like the :r modifier is not supported anymore, so remove it from
> > the list of events.
>
> acme, why is that anyway? -R is a fun way to save some typing, but not
> supporting :r anymore takes away the option of not getting
> PERF_SAMPLE_RAW output for every event.

Because it was very non obvious for people to select this -R or :r
every time they wanted to use trace events for tracing. I think
there was complaints about that. Moreover nobody seemed to use
trace events for non-tracing (perf report, top, annotate, ...)
so we decided to always have RAW records so that it works for
every cases...unless we lose events because of that.

We can still bring an option to force disabling of raw records.
--
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/