]> git.baikalelectronics.ru Git - kernel.git/commit
perf buildid-cache: Show usage with incorrect params
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Fri, 27 Feb 2015 04:50:31 +0000 (13:50 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 27 Feb 2015 18:52:40 +0000 (15:52 -0300)
commit3fc7adfbbecbdde59fed3673409d23038a65f4dc
tree9419e197a5e45396353631d42748e6edc4560422
parente3135d53620502e95e395571864157fad92807e0
perf buildid-cache: Show usage with incorrect params

Show usage if no action is specified or unexpected parameter is given.
In other words, be more user friendly.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20150227045030.1999.44006.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-buildid-cache.c