perf mem: Fix --all-user/--all-kernel options
authorJiri Olsa <jolsa@kernel.org>
Mon, 12 Dec 2016 10:35:39 +0000 (11:35 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Dec 2016 19:25:45 +0000 (16:25 -0300)
Removing extra '--' prefix.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Fixes: ad16511b0e40 ("perf mem: Add -U/-K (--all-user/--all-kernel) options")
Link: http://lkml.kernel.org/r/1481538943-21874-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-mem.c

index d1ce29be560e5e7dad2a2faca9a68c2246510a11..cd7bc4d104e27e878e1ed694bf6be1d9b89d0a9d 100644 (file)
@@ -70,8 +70,8 @@ static int __cmd_record(int argc, const char **argv, struct perf_mem *mem)
        OPT_UINTEGER(0, "ldlat", &perf_mem_events__loads_ldlat, "mem-loads latency"),
        OPT_INCR('v', "verbose", &verbose,
                 "be more verbose (show counter open errors, etc)"),
-       OPT_BOOLEAN('U', "--all-user", &all_user, "collect only user level data"),
-       OPT_BOOLEAN('K', "--all-kernel", &all_kernel, "collect only kernel level data"),
+       OPT_BOOLEAN('U', "all-user", &all_user, "collect only user level data"),
+       OPT_BOOLEAN('K', "all-kernel", &all_kernel, "collect only kernel level data"),
        OPT_END()
        };