Skip to contentSkip to conversation

perf ui stdio: Use map_groups__fprintf()

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message May 2, 2018 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  b0867f0c624ca48886ae5bbe0574dbc3eef8c694
Gitweb:     https://git.kernel.org/tip/b0867f0c624ca48886ae5bbe0574dbc3eef8c694
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Wed, 25 Apr 2018 12:52:45 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 26 Apr 2018 13:47:13 -0300

perf ui stdio: Use map_groups__fprintf()

Instead of the variant that allows asking for just a specific map_type, because that map_type split will go away.

---
 tools/perf/ui/stdio/hist.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
tools/perf/ui/stdio/hist.c +1 -2
index 6832fcb2e6ff..c1eb476da91b 100644
@@ -819,8 +819,7 @@ size_t hists__fprintf(struct hists *hists, bool show_header, int max_rows,
 		}
 
 		if (h->ms.map == NULL && verbose > 1) {
-			__map_groups__fprintf_maps(h->thread->mg,
-						   MAP__FUNCTION, fp);
+			map_groups__fprintf(h->thread->mg, fp);
 			fprintf(fp, "%.10s end\n", graph_dotted_line);
 		}
 	}