Skip to content

Commit dabce16

Browse files
Ravi Bangoriaacmel
authored andcommitted
perf annotate: Get rid of annotation->nr_jumps
The 'nr_jumps' field in 'struct annotation' is not used since it's inception in commit 2402e4a ("perf annotate browser: Show 'jumpy' functions"). Get rid of it. Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: Ian Rogers <irogers@google.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Song Liu <songliubraving@fb.com> Link: http://lore.kernel.org/lkml/20200204045233.474937-7-ravi.bangoria@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 357a5d2 commit dabce16

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎tools/perf/util/annotate.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2611,8 +2611,6 @@ void annotation__mark_jump_targets(struct annotation *notes, struct symbol *sym)
26112611

26122612
if (++al->jump_sources > notes->max_jump_sources)
26132613
notes->max_jump_sources = al->jump_sources;
2614-
2615-
++notes->nr_jumps;
26162614
}
26172615
}
26182616

‎tools/perf/util/annotate.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ struct annotation {
279279
struct annotation_options *options;
280280
struct annotation_line **offsets;
281281
int nr_events;
282-
int nr_jumps;
283282
int max_jump_sources;
284283
int nr_entries;
285284
int nr_asm_entries;

0 commit comments

Comments
 (0)