Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: f71cd93d5ea4 ("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>

authored by

Mike Leach and committed by
Mathieu Poirier
66bd1333 934a5dc1

+5 -11
+5 -11
Documentation/trace/coresight/coresight-config.rst
··· 211 211 be selected when running trace under perf:: 212 212 213 213 $ 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 216 216 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. 220 220 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. 227 221 The entry in the 'events' directory uses perfs built in syntax generator 228 222 to substitute the syntax for the name when evaluating the command:: 229 223