]> git.baikalelectronics.ru Git - kernel.git/commit
perf config: Document the PERF_CONFIG environment variable
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 30 Jul 2019 14:30:37 +0000 (11:30 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 12 Aug 2019 19:26:02 +0000 (16:26 -0300)
commitaaa869c3dbc7a1f5750693bb7292c096c71a0afb
tree594f9f99309a4d9ee22606517d24efc0fcec8e8e
parentf869b87870b3f9875563b48722d0bf4c8be365dc
perf config: Document the PERF_CONFIG environment variable

There was a provision for setting this variable, but not the
getenv("PERF_CONFIG") call to set it, as this was fixed in the previous
cset, document that it can be used to ask for using an alternative
.perfconfig file or to disable reading whatever file exists in the
system or home directory, i.e. using:

  export PERF_CONFIG=/dev/null

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Taeung Song <treeze.taeung@gmail.com>
Link: https://lkml.kernel.org/n/tip-0u4o967hsk7j0o50zp9ctn89@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-config.txt