Commit 556da134 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Will Deacon

Documentation: qcom-pmu: Use /sys/bus/event_source/devices paths

To allow setting an appropriate parent for the struct pmu device
remove existing references to /sys/devices/ path.
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240412161057.14099-14-Jonathan.Cameron@huawei.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent 50650e5f
...@@ -10,7 +10,7 @@ There is one logical L2 PMU exposed, which aggregates the results from ...@@ -10,7 +10,7 @@ There is one logical L2 PMU exposed, which aggregates the results from
the physical PMUs. the physical PMUs.
The driver provides a description of its available events and configuration The driver provides a description of its available events and configuration
options in sysfs, see /sys/devices/l2cache_0. options in sysfs, see /sys/bus/event_source/devices/l2cache_0.
The "format" directory describes the format of the events. The "format" directory describes the format of the events.
......
...@@ -9,7 +9,7 @@ PMU with device name l3cache_<socket>_<instance>. User space is responsible ...@@ -9,7 +9,7 @@ PMU with device name l3cache_<socket>_<instance>. User space is responsible
for aggregating across slices. for aggregating across slices.
The driver provides a description of its available events and configuration The driver provides a description of its available events and configuration
options in sysfs, see /sys/devices/l3cache*. Given that these are uncore PMUs options in sysfs, see /sys/bus/event_source/devices/l3cache*. Given that these are uncore PMUs
the driver also exposes a "cpumask" sysfs attribute which contains a mask the driver also exposes a "cpumask" sysfs attribute which contains a mask
consisting of one CPU per socket which will be used to handle all the PMU consisting of one CPU per socket which will be used to handle all the PMU
events on that socket. events on that socket.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment