perf symbols: Add 'machine' member to struct addr_location
The addr_location struct should fully qualify an address, and to do that it should have in it the machine where the thread was found. Thus all functions that receive an addr_location now don't need to also receive a 'machine', those functions just need to access al->machine instead, just like it does with the other parts of an address location: al->thread, al->map, etc. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-o51iiee7vyq4r3k362uvuylg@git.kernel.org Signed-off-by:Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/builtin-report.c 13 additions, 15 deletionstools/perf/builtin-report.c
- tools/perf/builtin-script.c 7 additions, 9 deletionstools/perf/builtin-script.c
- tools/perf/util/event.c 1 addition, 0 deletionstools/perf/util/event.c
- tools/perf/util/scripting-engines/trace-event-perl.c 0 additions, 1 deletiontools/perf/util/scripting-engines/trace-event-perl.c
- tools/perf/util/scripting-engines/trace-event-python.c 0 additions, 1 deletiontools/perf/util/scripting-engines/trace-event-python.c
- tools/perf/util/session.c 2 additions, 2 deletionstools/perf/util/session.c
- tools/perf/util/session.h 1 addition, 1 deletiontools/perf/util/session.h
- tools/perf/util/symbol.h 1 addition, 0 deletionstools/perf/util/symbol.h
- tools/perf/util/trace-event-scripting.c 1 addition, 2 deletionstools/perf/util/trace-event-scripting.c
- tools/perf/util/trace-event.h 0 additions, 1 deletiontools/perf/util/trace-event.h
Loading
Please register or sign in to comment