linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf docs: Correct typo of event_sources
@ 2022-06-03  4:57 Ian Rogers
  2022-06-03  6:00 ` Sandipan Das
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Rogers @ 2022-06-03  4:57 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Alexey Bayduraev, Ian Rogers, Sandipan Das, German Gomez,
	Alyssa Ross, Kan Liang, Zhengjun Xing, Jin Yao, Like Xu,
	Joshua Martinez, linux-perf-users, linux-kernel
  Cc: Kevin Nomura

The sysfs directory is called event_source.

Reported-by: Kevin Nomura <nomurak@google.com>
Signed-off-by: Ian Rogers <irogers@google.com>
---
 tools/perf/Documentation/perf-record.txt | 2 +-
 tools/perf/Documentation/perf-stat.txt   | 2 +-
 tools/perf/Documentation/perf-top.txt    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt
index b4e9ef7edfef..cf8ad50f3de1 100644
--- a/tools/perf/Documentation/perf-record.txt
+++ b/tools/perf/Documentation/perf-record.txt
@@ -33,7 +33,7 @@ OPTIONS
         - a raw PMU event in the form of rN where N is a hexadecimal value
           that represents the raw register encoding with the layout of the
           event control registers as described by entries in
-          /sys/bus/event_sources/devices/cpu/format/*.
+          /sys/bus/event_source/devices/cpu/format/*.
 
         - a symbolic or raw PMU event followed by an optional colon
 	  and a list of event modifiers, e.g., cpu-cycles:p.  See the
diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt
index 8d1cde00b8d6..d8a33f4a47c5 100644
--- a/tools/perf/Documentation/perf-stat.txt
+++ b/tools/perf/Documentation/perf-stat.txt
@@ -39,7 +39,7 @@ report::
 	- a raw PMU event in the form of rN where N is a hexadecimal value
 	  that represents the raw register encoding with the layout of the
 	  event control registers as described by entries in
-	  /sys/bus/event_sources/devices/cpu/format/*.
+	  /sys/bus/event_source/devices/cpu/format/*.
 
         - a symbolic or raw PMU event followed by an optional colon
 	  and a list of event modifiers, e.g., cpu-cycles:p.  See the
diff --git a/tools/perf/Documentation/perf-top.txt b/tools/perf/Documentation/perf-top.txt
index cac3dfbee7d8..c1fdba26bf53 100644
--- a/tools/perf/Documentation/perf-top.txt
+++ b/tools/perf/Documentation/perf-top.txt
@@ -41,7 +41,7 @@ Default is to monitor all CPUS.
 	(use 'perf list' to list all events) or a raw PMU event in the form
 	of rN where N is a hexadecimal value that represents the raw register
 	encoding with the layout of the event control registers as described
-	by entries in /sys/bus/event_sources/devices/cpu/format/*.
+	by entries in /sys/bus/event_source/devices/cpu/format/*.
 
 -E <entries>::
 --entries=<entries>::
-- 
2.36.1.255.ge46751e96f-goog


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

* Re: [PATCH] perf docs: Correct typo of event_sources
  2022-06-03  4:57 [PATCH] perf docs: Correct typo of event_sources Ian Rogers
@ 2022-06-03  6:00 ` Sandipan Das
  2022-06-03 19:16   ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Sandipan Das @ 2022-06-03  6:00 UTC (permalink / raw)
  To: Ian Rogers
  Cc: Kevin Nomura, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Jiri Olsa, Mark Rutland,
	Alexander Shishkin, Namhyung Kim, Alexey Bayduraev, Like Xu,
	German Gomez, Jin Yao, Kan Liang, Alyssa Ross, Zhengjun Xing,
	Joshua Martinez, linux-perf-users, linux-kernel


On 6/3/2022 10:27 AM, Ian Rogers wrote:
> The sysfs directory is called event_source.
> 
> Reported-by: Kevin Nomura <nomurak@google.com>
> Signed-off-by: Ian Rogers <irogers@google.com>
> ---
>  tools/perf/Documentation/perf-record.txt | 2 +-
>  tools/perf/Documentation/perf-stat.txt   | 2 +-
>  tools/perf/Documentation/perf-top.txt    | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
>  [...]

Thanks for fixing these.

Reviewed-by: Sandipan Das <sandipan.das@amd.com>


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

* Re: [PATCH] perf docs: Correct typo of event_sources
  2022-06-03  6:00 ` Sandipan Das
@ 2022-06-03 19:16   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2022-06-03 19:16 UTC (permalink / raw)
  To: Sandipan Das
  Cc: Ian Rogers, Kevin Nomura, Peter Zijlstra, Ingo Molnar, Jiri Olsa,
	Mark Rutland, Alexander Shishkin, Namhyung Kim, Alexey Bayduraev,
	Like Xu, German Gomez, Jin Yao, Kan Liang, Alyssa Ross,
	Zhengjun Xing, Joshua Martinez, linux-perf-users, linux-kernel

Em Fri, Jun 03, 2022 at 11:30:00AM +0530, Sandipan Das escreveu:
> 
> On 6/3/2022 10:27 AM, Ian Rogers wrote:
> > The sysfs directory is called event_source.
> > 
> > Reported-by: Kevin Nomura <nomurak@google.com>
> > Signed-off-by: Ian Rogers <irogers@google.com>
> > ---
> >  tools/perf/Documentation/perf-record.txt | 2 +-
> >  tools/perf/Documentation/perf-stat.txt   | 2 +-
> >  tools/perf/Documentation/perf-top.txt    | 2 +-
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> > 
> >  [...]
> 
> Thanks for fixing these.
> 
> Reviewed-by: Sandipan Das <sandipan.das@amd.com>

Thanks, applied.

- Arnaldo


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

end of thread, other threads:[~2022-06-03 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-03  4:57 [PATCH] perf docs: Correct typo of event_sources Ian Rogers
2022-06-03  6:00 ` Sandipan Das
2022-06-03 19:16   ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).