]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
perf tools: Move help_unknown_cmd() to its own file
authorJosh Poimboeuf <jpoimboe@redhat.com>
Mon, 14 Dec 2015 04:18:09 +0000 (22:18 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 14 Dec 2015 15:30:37 +0000 (12:30 -0300)
commit5feaac248a46dd5f9876c4ae45c4bbbde5472e90
tree2a6c2b55e01c6f332451b39cec92a8b1d50a5b07
parenta871a775172ac586b76199fd158e2843971bd052
perf tools: Move help_unknown_cmd() to its own file

help_unknown_cmd() is quite perf-specific because it relies on some
perf_config*() functions.  Move it and its supporting functions out into
a separate file so that help.c can be moved to a library.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/562d918bcaaf340c1ae3e47586b3f0ae33b9918b.1449965119.git.jpoimboe@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/Build
tools/perf/util/help-unknown-cmd.c [new file with mode: 0644]
tools/perf/util/help-unknown-cmd.h [new file with mode: 0644]
tools/perf/util/help.c
tools/perf/util/help.h