Skip to content

Commit 400c6b6

Browse files
committed
Documentation: coresight: Fix documentation issue
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2055405 commit 66bd133 Author: Mike Leach <mike.leach@linaro.org> Date: Wed Nov 17 16:42:20 2021 +0000 Documentation: coresight: Fix documentation issue Fix the description of the directories and attributes used in cs_etm as used by perf. Drop the references to the 'configurations' sub-directory which had been removed in an earlier version of the patchset. Fixes: f71cd93 ("Documentation: coresight: Add documentation for CoreSight config") Reported-by: German Gomex <german.gomez@arm.com> Signed-off-by: Mike Leach <mike.leach@linaro.org> Link: https://lore.kernel.org/r/20211117164220.14883-1-mike.leach@linaro.org Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Jeremy Linton <jlinton@redhat.com>
1 parent f191ba6 commit 400c6b6

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

Documentation/trace/coresight/coresight-config.rst

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -211,19 +211,13 @@ also declared in the perf 'cs_etm' event infrastructure so that they can
211211
be selected when running trace under perf::
212212

213213
$ ls /sys/devices/cs_etm
214-
configurations format perf_event_mux_interval_ms sinks type
215-
events nr_addr_filters power
214+
cpu0 cpu2 events nr_addr_filters power subsystem uevent
215+
cpu1 cpu3 format perf_event_mux_interval_ms sinks type
216216

217-
Key directories here are 'configurations' - which lists the loaded
218-
configurations, and 'events' - a generic perf directory which allows
219-
selection on the perf command line.::
217+
The key directory here is 'events' - a generic perf directory which allows
218+
selection on the perf command line. As with the sinks entries, this provides
219+
a hash of the configuration name.
220220

221-
$ ls configurations/
222-
autofdo
223-
$ cat configurations/autofdo
224-
0xa7c3dddd
225-
226-
As with the sinks entries, this provides a hash of the configuration name.
227221
The entry in the 'events' directory uses perfs built in syntax generator
228222
to substitute the syntax for the name when evaluating the command::
229223

0 commit comments

Comments
 (0)