]> Git Repo - linux.git/commit
perf tools: Set thread->mg.machine in all places
authorArnaldo Carvalho de Melo <[email protected]>
Tue, 21 Oct 2014 20:29:02 +0000 (17:29 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 29 Oct 2014 12:32:46 +0000 (10:32 -0200)
commit11246c708acdfa9512d7b69c18938810c20fd6ab
treeef571dcfac1d69884897118276b36781bba53da3
parent7d073b335edc8d97af730c2e3b83ed6642bd3c27
perf tools: Set thread->mg.machine in all places

We were setting this only in machine__init(), i.e. for the map_groups that
holds the kernel module maps, not for the one used for a thread's executable
mmaps.

Now we are sure that we can obtain the machine where a thread is by going
via thread->mg->machine, thus we can, in the following patch, make all
codepaths that receive machine _and_ thread, drop the machine one.

Cc: Adrian Hunter <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Don Zickus <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jean Pihet <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/machine.c
tools/perf/util/map.c
tools/perf/util/map.h
tools/perf/util/thread.c
This page took 0.055183 seconds and 4 git commands to generate.