perf stat: Change metrics context calculation
authorJiri Olsa <jolsa@kernel.org>
Tue, 7 Apr 2015 21:25:16 +0000 (23:25 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 29 Apr 2015 13:38:05 +0000 (10:38 -0300)
commit9f71b4f39d7c01cae9d80e938774ff6b0a9bfd80
treea147cdef5c3aa13d307a25259781a7d87e9ee443
parenta0aa21e2281f89a197ad8e7bd8008f3b7b735dfc
perf stat: Change metrics context calculation

Changing metrics context calculation to allow more than 2 types of
context.

Following patches will add support for the rest of the exclude_* bits so
we need separate array element for all context combinations.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
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-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c