]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
perf ui stdio: Use map_groups__fprintf()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Apr 2018 15:52:45 +0000 (12:52 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2018 16:47:13 +0000 (13:47 -0300)
Instead of the variant that allows asking for just a specific map_type,
because that map_type split will go away.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-eya0jvmu26qvro0nxxd49xia@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/stdio/hist.c

index 6832fcb2e6ff015be9155d94289594c3fbbad433..c1eb476da91b153f16b65b2b0874536ed26973fb 100644 (file)
@@ -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);
                }
        }