Commit fe87797d authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 79b6bb73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ static int sample_ustack(struct perf_sample *sample,

	sp = (unsigned long) regs[PERF_REG_ARM_SP];

	map = maps__find(thread->mg, (u64)sp);
	map = maps__find(thread->maps, (u64)sp);
	if (!map) {
		pr_debug("failed to get stack map\n");
		free(buf);
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ static int sample_ustack(struct perf_sample *sample,

	sp = (unsigned long) regs[PERF_REG_ARM64_SP];

	map = maps__find(thread->mg, (u64)sp);
	map = maps__find(thread->maps, (u64)sp);
	if (!map) {
		pr_debug("failed to get stack map\n");
		free(buf);
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ static int sample_ustack(struct perf_sample *sample,

	sp = (unsigned long) regs[PERF_REG_POWERPC_R1];

	map = maps__find(thread->mg, (u64)sp);
	map = maps__find(thread->maps, (u64)sp);
	if (!map) {
		pr_debug("failed to get stack map\n");
		free(buf);
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ static int sample_ustack(struct perf_sample *sample,

	sp = (unsigned long) regs[PERF_REG_X86_SP];

	map = maps__find(thread->mg, (u64)sp);
	map = maps__find(thread->maps, (u64)sp);
	if (!map) {
		pr_debug("failed to get stack map\n");
		free(buf);
+1 −1
Original line number Diff line number Diff line
@@ -790,7 +790,7 @@ static void task__print_level(struct task *task, FILE *fp, int level)

	fprintf(fp, "%s\n", thread__comm_str(thread));

	maps__fprintf_task(thread->mg, comm_indent, fp);
	maps__fprintf_task(thread->maps, comm_indent, fp);

	if (!list_empty(&task->children)) {
		list_for_each_entry(child, &task->children, list)
Loading