perf: Add attr->precise support to raw event parsing
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 4 Mar 2010 12:57:24 +0000 (13:57 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Mar 2010 12:23:32 +0000 (13:23 +0100)
commit69fef0d2e2c2c049ef4207a52e78b50d527bd85a
tree714bf4c86501221dc5744ae8f0c08d3ec6143630
parentca037701a025334e724e5c61b3b1082940c8b981
perf: Add attr->precise support to raw event parsing

Minimal userspace interface to the new 'precise' events flag.

Can be used like "perf top -e r00c0p" which will use PEBS to sample
retired instructions.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: paulus@samba.org
Cc: eranian@google.com
Cc: robert.richter@amd.com
Cc: fweisbec@gmail.com
LKML-Reference: <20100304140100.468665803@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c