]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Add 'perf config' command
authorTaeung Song <treeze.taeung@gmail.com>
Tue, 17 Nov 2015 13:53:21 +0000 (22:53 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Nov 2015 21:31:24 +0000 (18:31 -0300)
commit54ba0933dd1563be63d451d2ea024cec533f95d3
treeabac32a35418ba8d1c8ab601c9ae9713a40b3236
parentc4fb86c7bfe7a24f844106b49d6ce4ee1c3eeb57
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>
tools/perf/Build
tools/perf/builtin-config.c [new file with mode: 0644]
tools/perf/builtin.h
tools/perf/command-list.txt
tools/perf/perf.c