aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-kmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-kmem.c')
-rw-r--r--tools/perf/builtin-kmem.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c
index dda60869faad..e078797ab1f1 100644
--- a/tools/perf/builtin-kmem.c
+++ b/tools/perf/builtin-kmem.c
@@ -505,8 +505,7 @@ static void sort_result(void)
505static int __cmd_kmem(void) 505static int __cmd_kmem(void)
506{ 506{
507 int err; 507 int err;
508 struct perf_session *session = perf_session__new(input_name, O_RDONLY, 508 struct perf_session *session = perf_session__new(input_name, O_RDONLY, 0);
509 0, NULL);
510 if (session == NULL) 509 if (session == NULL)
511 return -ENOMEM; 510 return -ENOMEM;
512 511
@@ -767,7 +766,7 @@ static int __cmd_record(int argc, const char **argv)
767 766
768int cmd_kmem(int argc, const char **argv, const char *prefix __used) 767int cmd_kmem(int argc, const char **argv, const char *prefix __used)
769{ 768{
770 symbol__init(0); 769 symbol__init();
771 770
772 argc = parse_options(argc, argv, kmem_options, kmem_usage, 0); 771 argc = parse_options(argc, argv, kmem_options, kmem_usage, 0);
773 772