Re: [PATCH 1/2] perf tools: Add a per tracepoint counter attributeto get raw sample

From: Arnaldo Carvalho de Melo
Date: Thu Aug 13 2009 - 10:30:05 EST


Em Thu, Aug 13, 2009 at 10:27:18AM +0200, Frederic Weisbecker escreveu:
> Add a new flag field while opening a tracepoint perf counter:
>
> -e tracepoint_subsystem:tracepoint_name:flags
>
> This is intended to be generic although for now it only supports the
> r[e[c[o[r[d]]]]] flag:
>
> ./perf record -e workqueue:workqueue_insertion:record
> ./perf record -e workqueue:workqueue_insertion:r
>
> will have the same effect: enabling the raw samples record for the
> given tracepoint counter.
>
> In the future, we may want to support further flags, separated by
> commas.

Will you at some point get those commit messages massaged into 'perf
record --help'? :-)

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