diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-04-18 09:35:03 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-04-18 10:17:09 -0400 |
commit | acf2abbd0b7fcc6325e9690a8a32ee924c827f70 (patch) | |
tree | 1fded8baf53d28ddd4e4076af33920fcf78593e7 /tools/perf/util/session.c | |
parent | ccd62a896ffe3dbd60f3b7570a2b74e4fe030ed6 (diff) |
perf evsel: Add missign class prefix to has_branch_stack method
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-5i07ivw1yjsweb7gztr255jd@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/session.c')
-rw-r--r-- | tools/perf/util/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index ca1827c4af4a..2335b2824d8a 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c | |||
@@ -907,7 +907,7 @@ static void callchain__printf(struct perf_evsel *evsel, | |||
907 | unsigned int i; | 907 | unsigned int i; |
908 | struct ip_callchain *callchain = sample->callchain; | 908 | struct ip_callchain *callchain = sample->callchain; |
909 | 909 | ||
910 | if (has_branch_callstack(evsel)) | 910 | if (perf_evsel__has_branch_callstack(evsel)) |
911 | callchain__lbr_callstack_printf(sample); | 911 | callchain__lbr_callstack_printf(sample); |
912 | 912 | ||
913 | printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); | 913 | printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); |
@@ -1081,7 +1081,7 @@ static void dump_sample(struct perf_evsel *evsel, union perf_event *event, | |||
1081 | if (sample_type & PERF_SAMPLE_CALLCHAIN) | 1081 | if (sample_type & PERF_SAMPLE_CALLCHAIN) |
1082 | callchain__printf(evsel, sample); | 1082 | callchain__printf(evsel, sample); |
1083 | 1083 | ||
1084 | if ((sample_type & PERF_SAMPLE_BRANCH_STACK) && !has_branch_callstack(evsel)) | 1084 | if ((sample_type & PERF_SAMPLE_BRANCH_STACK) && !perf_evsel__has_branch_callstack(evsel)) |
1085 | branch_stack__printf(sample); | 1085 | branch_stack__printf(sample); |
1086 | 1086 | ||
1087 | if (sample_type & PERF_SAMPLE_REGS_USER) | 1087 | if (sample_type & PERF_SAMPLE_REGS_USER) |