public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf stat: Fix path to PMU formats in documentation
@ 2017-08-24 13:20 Jack Henschel
  2017-08-24 15:13 ` Arnaldo Carvalho de Melo
  2017-08-29 21:19 ` [tip:perf/core] " tip-bot for Jack Henschel
  0 siblings, 2 replies; 3+ messages in thread
From: Jack Henschel @ 2017-08-24 13:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Alexander Shishkin, trivial, Jack Henschel

As defined in tools/perf/util/pmu.c, the EVENT_SOURCE_DEVICE_PATH
is /sys/bus/event_source/devices/ (no traling 's' in event_source)

This patch corrects the path in the perf stat documentation

Signed-off-by: Jack Henschel <jackdev@mailbox.org>
---
 tools/perf/Documentation/perf-stat.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt
index 698076313606..c37d61682dfb 100644
--- a/tools/perf/Documentation/perf-stat.txt
+++ b/tools/perf/Documentation/perf-stat.txt
@@ -41,13 +41,13 @@ report::
 
 	- a symbolically formed event like 'pmu/param1=0x3,param2/' where
 	  param1 and param2 are defined as formats for the PMU in
-	  /sys/bus/event_sources/devices/<pmu>/format/*
+	  /sys/bus/event_source/devices/<pmu>/format/*
 
 	- a symbolically formed event like 'pmu/config=M,config1=N,config2=K/'
 	  where M, N, K are numbers (in decimal, hex, octal format).
 	  Acceptable values for each of 'config', 'config1' and 'config2'
 	  parameters are defined by corresponding entries in
-	  /sys/bus/event_sources/devices/<pmu>/format/*
+	  /sys/bus/event_source/devices/<pmu>/format/*
 
 -i::
 --no-inherit::
-- 
2.14.1

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

* Re: [PATCH] perf stat: Fix path to PMU formats in documentation
  2017-08-24 13:20 [PATCH] perf stat: Fix path to PMU formats in documentation Jack Henschel
@ 2017-08-24 15:13 ` Arnaldo Carvalho de Melo
  2017-08-29 21:19 ` [tip:perf/core] " tip-bot for Jack Henschel
  1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2017-08-24 15:13 UTC (permalink / raw)
  To: Jack Henschel
  Cc: linux-kernel, Peter Zijlstra, Ingo Molnar, Alexander Shishkin,
	trivial

Em Thu, Aug 24, 2017 at 03:20:22PM +0200, Jack Henschel escreveu:
> As defined in tools/perf/util/pmu.c, the EVENT_SOURCE_DEVICE_PATH
> is /sys/bus/event_source/devices/ (no traling 's' in event_source)
> 
> This patch corrects the path in the perf stat documentation

Good catch, thanks, applied.

- Arnaldo
 
> Signed-off-by: Jack Henschel <jackdev@mailbox.org>
> ---
>  tools/perf/Documentation/perf-stat.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt
> index 698076313606..c37d61682dfb 100644
> --- a/tools/perf/Documentation/perf-stat.txt
> +++ b/tools/perf/Documentation/perf-stat.txt
> @@ -41,13 +41,13 @@ report::
>  
>  	- a symbolically formed event like 'pmu/param1=0x3,param2/' where
>  	  param1 and param2 are defined as formats for the PMU in
> -	  /sys/bus/event_sources/devices/<pmu>/format/*
> +	  /sys/bus/event_source/devices/<pmu>/format/*
>  
>  	- a symbolically formed event like 'pmu/config=M,config1=N,config2=K/'
>  	  where M, N, K are numbers (in decimal, hex, octal format).
>  	  Acceptable values for each of 'config', 'config1' and 'config2'
>  	  parameters are defined by corresponding entries in
> -	  /sys/bus/event_sources/devices/<pmu>/format/*
> +	  /sys/bus/event_source/devices/<pmu>/format/*
>  
>  -i::
>  --no-inherit::
> -- 
> 2.14.1

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

* [tip:perf/core] perf stat: Fix path to PMU formats in documentation
  2017-08-24 13:20 [PATCH] perf stat: Fix path to PMU formats in documentation Jack Henschel
  2017-08-24 15:13 ` Arnaldo Carvalho de Melo
@ 2017-08-29 21:19 ` tip-bot for Jack Henschel
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Jack Henschel @ 2017-08-29 21:19 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: alexander.shishkin, peterz, jackdev, mingo, linux-kernel, tglx,
	hpa, acme

Commit-ID:  726647d0526c5c2f3472010677122b89d9e4ef88
Gitweb:     http://git.kernel.org/tip/726647d0526c5c2f3472010677122b89d9e4ef88
Author:     Jack Henschel <jackdev@mailbox.org>
AuthorDate: Thu, 24 Aug 2017 15:20:22 +0200
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Mon, 28 Aug 2017 11:05:09 -0300

perf stat: Fix path to PMU formats in documentation

As defined in tools/perf/util/pmu.c, the EVENT_SOURCE_DEVICE_PATH is
/sys/bus/event_source/devices/ (no traling 's' in event_source)

This patch corrects the path in the perf stat documentation

Signed-off-by: Jack Henschel <jackdev@mailbox.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jack Henschel <jackdev@mailbox.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: trivial@kernel.org
Link: http://lkml.kernel.org/r/20170824132022.10934-1-jackdev@mailbox.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-stat.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt
index 6980763..c37d616 100644
--- a/tools/perf/Documentation/perf-stat.txt
+++ b/tools/perf/Documentation/perf-stat.txt
@@ -41,13 +41,13 @@ report::
 
 	- a symbolically formed event like 'pmu/param1=0x3,param2/' where
 	  param1 and param2 are defined as formats for the PMU in
-	  /sys/bus/event_sources/devices/<pmu>/format/*
+	  /sys/bus/event_source/devices/<pmu>/format/*
 
 	- a symbolically formed event like 'pmu/config=M,config1=N,config2=K/'
 	  where M, N, K are numbers (in decimal, hex, octal format).
 	  Acceptable values for each of 'config', 'config1' and 'config2'
 	  parameters are defined by corresponding entries in
-	  /sys/bus/event_sources/devices/<pmu>/format/*
+	  /sys/bus/event_source/devices/<pmu>/format/*
 
 -i::
 --no-inherit::

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

end of thread, other threads:[~2017-08-29 21:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-24 13:20 [PATCH] perf stat: Fix path to PMU formats in documentation Jack Henschel
2017-08-24 15:13 ` Arnaldo Carvalho de Melo
2017-08-29 21:19 ` [tip:perf/core] " tip-bot for Jack Henschel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox