path: root/tools/perf/builtin-buildid-list.c
diff options
authorArnaldo Carvalho de Melo <>2009-12-18 16:35:58 -0200
committerIngo Molnar <>2009-12-18 20:01:52 +0100
commit0422a4fc2c6a41c3d4184984797512af2650014e (patch)
tree9360c59733c31e1bbf160c4d089942c04082cfb4 /tools/perf/builtin-buildid-list.c
parentb5b60fda1e462a849bc37dfbace2888191be82cc (diff)
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 <> Cc: Frederic Weisbecker <> Cc: Mike Galbraith <> Cc: Peter Zijlstra <> Cc: Paul Mackerras <> LKML-Reference: <> Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'tools/perf/builtin-buildid-list.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-buildid-list.c b/tools/perf/builtin-buildid-list.c
index e693e6777af5..1e99ac806913 100644
--- a/tools/perf/builtin-buildid-list.c
+++ b/tools/perf/builtin-buildid-list.c
@@ -17,7 +17,7 @@
static char const *input_name = "";
static int force;
-static const char *const buildid_list_usage[] = {
+static const char * const buildid_list_usage[] = {
"perf buildid-list [<options>]",