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

From: Frederic Weisbecker
Date: Thu Aug 13 2009 - 20:13:42 EST


On Thu, Aug 13, 2009 at 11:29:36AM -0300, Arnaldo Carvalho de Melo wrote:
> 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


Hehe, yeah, I will :-)

Oh BTW:

nobody@nowhere:~/linux/linux-2.6-tip/tools/perf/Documentation$ make
SUBDIR ../
make[1]: « PERF-VERSION-FILE » est à jour.
ASCIIDOC perf-annotate.html
ASCIIDOC perf-examples.html
ERROR: perf-examples.txt: line 1: manpage document title is mandatory
WARNING: perf-examples.txt: line 8: missing [paradef-default] From an e-mail by Ingo Molnar-style entry
make: *** [perf-examples.html] Erreur 1


I've never touched an ascii doc thing. I'll soon put my hands into it.

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