perf list: Fix --raw-dump option
authorTaesoo Kim <tsgatesv@gmail.com>
Wed, 31 Dec 2014 03:36:55 +0000 (22:36 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 3 Jan 2015 02:26:58 +0000 (23:26 -0300)
commitb3505208804f3b59150cd77719f01c8b0023a865
tree68fd5916a3fe3bc5dc35dee8850a48388d496382
parent4093325f829746b88eaf02a5ae3b88a325ea8b75
perf list: Fix --raw-dump option

Currently, 'perf list --raw-dump' requires extra arguments
(e.g., hw) to invoke, which breaks bash/zsh completion
(perf-completion.sh).

  $ perf list --raw-dump
    Error: unknown option `raw-dump'

     usage: perf list [hw|sw|cache|tracepoint|pmu|event_glob]

After,

  $ perf list --raw-dump
  cpu-cycles instructions cache-references cache-misses ...

Signed-off-by: Taesoo Kim <tsgatesv@gmail.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Taesoo kim <taesoo@gatech.edu>
Link: http://lkml.kernel.org/r/1419997015-11071-1-git-send-email-tsgatesv@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-list.c