summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-03-15 15:20:12 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-03-20 13:19:29 -0300
commit6dcd57e8ae2080bca776d55e6e2b3d529677cae5 (patch)
treea6043a28ee35e3724f8006dc76ab1bc8c116dd42 /tools/perf/util/annotate.h
parent27feb761c7211c6c35350277b6c65989b982b377 (diff)
downloadop-kernel-dev-6dcd57e8ae2080bca776d55e6e2b3d529677cae5.zip
op-kernel-dev-6dcd57e8ae2080bca776d55e6e2b3d529677cae5.tar.gz
perf annotate: Move nr_jumps to struct annotation
This is another information that will be useful for the --stdio2 mode, to provide symbol statistics, so move it from the TUI and change the mark_jump_targets() method to struct annotation. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-kpgle1qxe7thajvrqleuvi80@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index b8aca93..897a847 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -167,6 +167,7 @@ struct annotation {
struct annotation_options *options;
struct annotation_line **offsets;
int nr_events;
+ int nr_jumps;
int max_jump_sources;
bool have_cycles;
struct annotated_source *src;
OpenPOWER on IntegriCloud