]> Git Repo - linux.git/commit - tools/perf/builtin-trace.c
perf diff: Fix usage array, it must end with a NULL entry
authorArnaldo Carvalho de Melo <[email protected]>
Fri, 18 Dec 2009 18:35:58 +0000 (16:35 -0200)
committerIngo Molnar <[email protected]>
Fri, 18 Dec 2009 19:01:52 +0000 (20:01 +0100)
commit0422a4fc2c6a41c3d4184984797512af2650014e
tree9360c59733c31e1bbf160c4d089942c04082cfb4
parentb5b60fda1e462a849bc37dfbace2888191be82cc
perf diff: Fix usage array, it must end with a NULL entry

Fixing this:

 [acme@doppio linux-2.6-tip]$ perf diff --hell
   Error: unknown option `hell'

  usage: perf diff [<options>] [old_file] [new_file]
 Segmentation fault
 [acme@doppio linux-2.6-tip]$

Also go over the other such arrays to check if they all were OK,
they are, but there were some minor changes to do like making
one static and renaming another to match the command it refers
to.

Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <1261161358[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
tools/perf/builtin-buildid-list.c
tools/perf/builtin-diff.c
tools/perf/builtin-report.c
tools/perf/builtin-trace.c
This page took 0.044506 seconds and 4 git commands to generate.