]> Git Repo - linux.git/commit - tools/perf/builtin-report.c
perf annotate: Pass a 'map_symbol' in places receiving a pair of 'map' and 'symbol...
authorArnaldo Carvalho de Melo <[email protected]>
Mon, 4 Nov 2019 14:10:00 +0000 (11:10 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Tue, 12 Nov 2019 11:20:53 +0000 (08:20 -0300)
commit2975489458c59ce2e348b1b3aef5d8d2acb5cc8d
tree4844ee95eec1c3e2a5006fffbaad6297db8a0763
parentd3a022cbdce6f361b1effbff1eb18546690592c8
perf annotate: Pass a 'map_symbol' in places receiving a pair of 'map' and 'symbol' pointers

We are already passing things like:

  symbol__annotate(ms->sym, ms->map, ...)

So shorten the signature of such functions to receive the 'map_symbol'
pointer.

This also paves the way to having the 'struct map_groups' pointer in the
'struct map_symbol' so that we can get rid of 'struct map'->groups.

Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/builtin-top.c
tools/perf/ui/browsers/annotate.c
tools/perf/ui/gtk/annotate.c
tools/perf/util/annotate.c
tools/perf/util/annotate.h
This page took 0.058169 seconds and 4 git commands to generate.