Skip to contentSkip to conversation

perf config: Add tips about a list option

PATCH Superseded Nambong Ha 2 participants 2 messages Sep 29, 2016 perf events

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Nambong Ha

author
#0 lore raw

PATCH 1/1 perf config: Add tips about a list option

Add two tips that describe --list option of config sub-command and explain how to choose particular config file location.

Cc Namhyung Kim <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Taeung Song <[email protected]>
---
 tools/perf/Documentation/tips.txt | 2 ++
 1 file changed, 2 insertions(+)
tools/perf/Documentation/tips.txt +2 -0
index 5950b5a..1929654 100644
@@ -28,3 +28,5 @@ To change sampling frequency to 100 Hz: perf record -F 100
 See assembly instructions with percentage: perf annotate <symbol>
 If you prefer Intel style assembly, try: perf annotate -M intel
 For hierarchical output, try: perf report --hierarchy
+Show current config key-value pairs: perf config --list
+If choosing particular config file location, e.g.: perf config --user -l
Signature · 1 line
1.9.1
#1 lore raw

Em Fri, Sep 30, 2016 at 06:27:48AM +0900, Nambong Ha escreveu:

Quoted 16 lines

Add two tips that describe --list option of config sub-command and explain how to choose particular config file location.

Cc Namhyung Kim <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Taeung Song <[email protected]>
---
 tools/perf/Documentation/tips.txt | 2 ++
 1 file changed, 2 insertions(+)
tools/perf/Documentation/tips.txt +0 -0
index 5950b5a..1929654 100644

tools/perf/Documentation/tips.txt To change sampling frequency to 100 Hz: perf record -F 100 · line 32

Quoted 5 lines
tools/perf/Documentation/tips.txt +2 -0
@@ -28,3 +28,5 @@ To change sampling frequency to 100 Hz: perf record -F 100
 See assembly instructions with percentage: perf annotate <symbol>
 If you prefer Intel style assembly, try: perf annotate -M intel
 For hierarchical output, try: perf report --hierarchy
+Show current config key-value pairs: perf config --list
+If choosing particular config file location, e.g.: perf config --user -l

Humm, the second seems to use the context of the first, but these will be chosen randomly, so the second needs to be rewritten to something like:

Show user configuration overrides: perf config --user --list

No?

- Arnaldo