diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-04-27 20:22:44 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-04-27 20:22:44 -0400 |
commit | cbf6968098f89d3216d074f06544b5032b344da4 (patch) | |
tree | 842750b609ec0ad6f246be03fc39f7614c98316f /tools/perf/builtin-top.c | |
parent | d28c62232e50eab202bcd3f19b5c7a25b8b900b6 (diff) |
perf machines: Make the machines class adopt the dsos__fprintf methods
Now those methods don't operate on a global list of dsos, but on lists
of machines, so make this clear by renaming the functions.
Cc: Avi Kivity <avi@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index c390f340b03d..d95281f588d2 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -854,7 +854,7 @@ static void handle_keypress(struct perf_session *session, int c) | |||
854 | case 'Q': | 854 | case 'Q': |
855 | printf("exiting.\n"); | 855 | printf("exiting.\n"); |
856 | if (dump_symtab) | 856 | if (dump_symtab) |
857 | dsos__fprintf(&session->machines, stderr); | 857 | perf_session__fprintf_dsos(session, stderr); |
858 | exit(0); | 858 | exit(0); |
859 | case 's': | 859 | case 's': |
860 | prompt_symbol(&sym_filter_entry, "Enter details symbol"); | 860 | prompt_symbol(&sym_filter_entry, "Enter details symbol"); |