perf tools: Add 'I' event modifier for exclude_idle bit
authorJiri Olsa <jolsa@kernel.org>
Tue, 7 Apr 2015 21:25:14 +0000 (23:25 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Apr 2015 14:00:16 +0000 (11:00 -0300)
commita1e12da4796a4ddd0e911687a290eb396d1c64bf
treef6b0c0d524a376fa4e0411d08bac307d931f35c9
parentf6fcc1433a4a9057b2977313f31eadbc1c84268b
perf tools: Add 'I' event modifier for exclude_idle bit

Adding 'I' event modifier to have complete set of modifiers for
perf_event_attr:exclude_* bits.

Any event specified with 'I' modifier will have the
perf_event_attr:exclude_idle bit set.

  $ perf record -e cycles:I -vv ls 2>&1 | grep exclude_idle
  exclude_hv          0    exclude_idle        1

Adding automated tests.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: William Cohen <wcohen@redhat.com>
Link: http://lkml.kernel.org/r/1428441919-23099-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-list.txt
tools/perf/tests/parse-events.c
tools/perf/util/parse-events.c
tools/perf/util/parse-events.l