aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-11-20 17:51:24 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-21 08:11:32 -0500
commit6671cb1674e69e2aba3d610714bdd3e97a7b51ff (patch)
tree61eb72c744c19086b272af4b3da21ef959ae35d5 /tools/perf/builtin-report.c
parent96200591a34f8ecb98481c626125df43a2463b55 (diff)
perf symbols: Remove unrelated actions from dso__load_kernel_sym
It should just load kernel symbols, not load the list of modules. There are more stuff to move to other routines, but lets do it in several steps. End goal is to be able to defer symbol table loading till we find a hit for that map address range. So that the kernel & modules are handled just like all the other DSOs in the system. Signed-off-by: Arnaldo Carvalho de Melo <acme@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: <1258757489-5978-1-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 1a806d5f05cf..0af48401f089 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -38,6 +38,7 @@ static char *dso_list_str, *comm_list_str, *sym_list_str,
38static struct strlist *dso_list, *comm_list, *sym_list; 38static struct strlist *dso_list, *comm_list, *sym_list;
39 39
40static int force; 40static int force;
41static bool use_modules;
41 42
42static int full_paths; 43static int full_paths;
43static int show_nr_samples; 44static int show_nr_samples;
@@ -1023,7 +1024,7 @@ static const struct option options[] = {
1023 "dump raw trace in ASCII"), 1024 "dump raw trace in ASCII"),
1024 OPT_STRING('k', "vmlinux", &vmlinux_name, "file", "vmlinux pathname"), 1025 OPT_STRING('k', "vmlinux", &vmlinux_name, "file", "vmlinux pathname"),
1025 OPT_BOOLEAN('f', "force", &force, "don't complain, do it"), 1026 OPT_BOOLEAN('f', "force", &force, "don't complain, do it"),
1026 OPT_BOOLEAN('m', "modules", &modules, 1027 OPT_BOOLEAN('m', "modules", &use_modules,
1027 "load module symbols - WARNING: use only with -k and LIVE kernel"), 1028 "load module symbols - WARNING: use only with -k and LIVE kernel"),
1028 OPT_BOOLEAN('n', "show-nr-samples", &show_nr_samples, 1029 OPT_BOOLEAN('n', "show-nr-samples", &show_nr_samples,
1029 "Show a column with the number of samples"), 1030 "Show a column with the number of samples"),