All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf config: Add tips about a list option
@ 2016-09-29 21:27 Nambong Ha
  2016-09-29 22:28 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Nambong Ha @ 2016-09-29 21:27 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Ingo Molnar, Peter Zijlstra, Jiri Olsa,
	Namhyung Kim, Taeung Song, Nambong Ha

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

Signed-off-by: Nambong Ha <over3025@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Taeung Song <taeung@kosslab.kr>
---
 tools/perf/Documentation/tips.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt
index 5950b5a..1929654 100644
--- a/tools/perf/Documentation/tips.txt
+++ b/tools/perf/Documentation/tips.txt
@@ -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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] perf config: Add tips about a list option
  2016-09-29 21:27 [PATCH] perf config: Add tips about a list option Nambong Ha
@ 2016-09-29 22:28 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2016-09-29 22:28 UTC (permalink / raw)
  To: Nambong Ha
  Cc: linux-kernel, Ingo Molnar, Peter Zijlstra, Jiri Olsa,
	Namhyung Kim, Taeung Song

Em Fri, Sep 30, 2016 at 06:27:48AM +0900, Nambong Ha escreveu:
> Add two tips that describe --list option of config sub-command
> and explain how to choose particular config file location.
> 
> Signed-off-by: Nambong Ha <over3025@gmail.com>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Cc: Jiri Olsa <jolsa@kernel.org>
> Cc: Taeung Song <taeung@kosslab.kr>
> ---
>  tools/perf/Documentation/tips.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt
> index 5950b5a..1929654 100644
> --- a/tools/perf/Documentation/tips.txt
> +++ b/tools/perf/Documentation/tips.txt
> @@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-29 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 21:27 [PATCH] perf config: Add tips about a list option Nambong Ha
2016-09-29 22:28 ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.