summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/map.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-11-26 02:07:43 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-11-26 15:07:46 +0100
commitfe87797dea79b59e97a4ea67441bf91f2905bf23 (patch)
treede95e3e69803f88c99d56f8a9476af9902c7e324 /tools/perf/util/map.c
parentperf maps: Merge 'struct maps' with 'struct map_groups' (diff)
downloadlinux-fe87797dea79b59e97a4ea67441bf91f2905bf23.tar.xz
linux-fe87797dea79b59e97a4ea67441bf91f2905bf23.zip
perf thread: Rename thread->mg to thread->maps
One more step on the merge of 'struct maps' with 'struct map_groups'. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-69vcr8pubpym90skxhmbwhiw@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/map.c')
-rw-r--r--tools/perf/util/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c
index 4c9fd064028f..39bfed48b7f5 100644
--- a/tools/perf/util/map.c
+++ b/tools/perf/util/map.c
@@ -819,7 +819,7 @@ out:
*/
int maps__clone(struct thread *thread, struct maps *parent)
{
- struct maps *mg = thread->mg;
+ struct maps *mg = thread->maps;
int err = -ENOMEM;
struct map *map;