perf tools: Add a general option to enable raw sample records
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 13 Aug 2009 08:27:19 +0000 (10:27 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 13 Aug 2009 08:37:25 +0000 (10:37 +0200)
commitdaac07b2e6b77f1bd44104aa2f0593e5505f27d4
tree823f2b23b1418886449152ce81de0e7ac570dcb9
parent3a9f131fb00b8ac5950a11ad1599e45edfb5ae44
perf tools: Add a general option to enable raw sample records

While we can enable the perf sample records per tracepoint
counter, we may also want to enable this option for every
tracepoint counters to open, so that we don't need to add a
:record flag for all of them.

Add the -R, --raw-samples options for this purpose.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1250152039-7284-2-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c