diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-01-27 21:05:52 -0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-29 09:20:58 +0100 |
commit | 64abebf731df87e6f4ae7d9ffc340bdf0c033e44 (patch) | |
tree | 5ccf8953ac39f72875254321dd51e9ec9503aaa0 /tools/perf/builtin-kmem.c | |
parent | fd1d908c543fbdfae82839d24b0872c542fceedc (diff) | |
download | op-kernel-dev-64abebf731df87e6f4ae7d9ffc340bdf0c033e44.zip op-kernel-dev-64abebf731df87e6f4ae7d9ffc340bdf0c033e44.tar.gz |
perf session: Create kernel maps in the constructor
Removing one extra step needed in the tools that need this,
fixing a bug in 'perf probe' where this was not being done.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1264633557-17597-4-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-kmem.c')
-rw-r--r-- | tools/perf/builtin-kmem.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c index 7323d9d..38b8ca9 100644 --- a/tools/perf/builtin-kmem.c +++ b/tools/perf/builtin-kmem.c @@ -491,11 +491,6 @@ static int __cmd_kmem(void) if (!perf_session__has_traces(session, "kmem record")) goto out_delete; - if (perf_session__create_kernel_maps(session) < 0) { - pr_err("Problems creating kernel maps\n"); - return -1; - } - setup_pager(); err = perf_session__process_events(session, &event_ops); if (err != 0) |