diff options
author | Taeung Song | 2015-11-17 14:53:21 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2015-11-23 22:31:24 +0100 |
commit | 30862f2c5725c46afcfab5af710fdf5163bf0f81 (patch) | |
tree | abac32a35418ba8d1c8ab601c9ae9713a40b3236 /tools/perf/builtin.h | |
parent | perf callchain: Add order support for libdw DWARF unwinder (diff) | |
download | kernel-qcow2-linux-30862f2c5725c46afcfab5af710fdf5163bf0f81.tar.gz kernel-qcow2-linux-30862f2c5725c46afcfab5af710fdf5163bf0f81.tar.xz kernel-qcow2-linux-30862f2c5725c46afcfab5af710fdf5163bf0f81.zip |
perf tools: Add 'perf config' command
The perf configuration file contains many variables to change various
aspects of each of its tools, including output, disk usage, etc.
But looking at the state of configuration is difficult and there's no
documentation about config variables except for the variables in
perfconfig.example exist.
So this patch adds a 'perf-config' command with a '--list' option.
perf config [options]
display current perf config variables.
# perf config -l | --list
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1447768424-17327-1-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin.h')
-rw-r--r-- | tools/perf/builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin.h b/tools/perf/builtin.h index 3688ad29085f..3f871b54e261 100644 --- a/tools/perf/builtin.h +++ b/tools/perf/builtin.h @@ -17,6 +17,7 @@ extern int cmd_annotate(int argc, const char **argv, const char *prefix); extern int cmd_bench(int argc, const char **argv, const char *prefix); extern int cmd_buildid_cache(int argc, const char **argv, const char *prefix); extern int cmd_buildid_list(int argc, const char **argv, const char *prefix); +extern int cmd_config(int argc, const char **argv, const char *prefix); extern int cmd_diff(int argc, const char **argv, const char *prefix); extern int cmd_evlist(int argc, const char **argv, const char *prefix); extern int cmd_help(int argc, const char **argv, const char *prefix); |