Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf annotate: Get rid of annotation->nr_jumps

The 'nr_jumps' field in 'struct annotation' is not used since it's
inception in commit 2402e4a936a0 ("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>

authored by

Ravi Bangoria and committed by
Arnaldo Carvalho de Melo
dabce16b 357a5d24

-3
-2
tools/perf/util/annotate.c
··· 2611 2611 2612 2612 if (++al->jump_sources > notes->max_jump_sources) 2613 2613 notes->max_jump_sources = al->jump_sources; 2614 - 2615 - ++notes->nr_jumps; 2616 2614 } 2617 2615 } 2618 2616
-1
tools/perf/util/annotate.h
··· 279 279 struct annotation_options *options; 280 280 struct annotation_line **offsets; 281 281 int nr_events; 282 - int nr_jumps; 283 282 int max_jump_sources; 284 283 int nr_entries; 285 284 int nr_asm_entries;