perf report: Add flag for non ANY branch mode
authorAndi Kleen <ak@linux.intel.com>
Sat, 18 Jul 2015 15:24:47 +0000 (08:24 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Aug 2015 19:31:39 +0000 (16:31 -0300)
commit98df858ed46ddaaf9be3573eb2b63b57a68c6af7
tree9c96ebd8cff27be865a70a5d7ded60b309aaa847
parent0e332f033a8216fa03792fde69882f66500848c7
perf report: Add flag for non ANY branch mode

Later patches need to cheaply check that the branch mode is in ANY.  Add
a new function to check all event attrs and add a flag to the report
state, which is then initialized.

v2: Rename flag

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1437233094-12844-3-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h