diff options
author | 2015-07-18 08:24:47 -0700 | |
---|---|---|
committer | 2015-08-06 16:31:39 -0300 | |
commit | 98df858ed46ddaaf9be3573eb2b63b57a68c6af7 (patch) | |
tree | 9c96ebd8cff27be865a70a5d7ded60b309aaa847 /tools/perf/util/evlist.h | |
parent | perf tools: Add support for cycles, weight branch_info field (diff) | |
download | linux-98df858ed46ddaaf9be3573eb2b63b57a68c6af7.tar.gz linux-98df858ed46ddaaf9be3573eb2b63b57a68c6af7.tar.bz2 linux-98df858ed46ddaaf9be3573eb2b63b57a68c6af7.zip |
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>
Diffstat (limited to 'tools/perf/util/evlist.h')
-rw-r--r-- | tools/perf/util/evlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evlist.h b/tools/perf/util/evlist.h index a8930b68456b..397757063da1 100644 --- a/tools/perf/util/evlist.h +++ b/tools/perf/util/evlist.h @@ -165,6 +165,7 @@ void perf_evlist__set_leader(struct perf_evlist *evlist); u64 perf_evlist__read_format(struct perf_evlist *evlist); u64 __perf_evlist__combined_sample_type(struct perf_evlist *evlist); u64 perf_evlist__combined_sample_type(struct perf_evlist *evlist); +u64 perf_evlist__combined_branch_type(struct perf_evlist *evlist); bool perf_evlist__sample_id_all(struct perf_evlist *evlist); u16 perf_evlist__id_hdr_size(struct perf_evlist *evlist); |