Re: [PATCH v2 8/9] Documentation: hisi-pmu: Fix of minor format error
From: Yicong Yang <hidden>
Date: 2025-08-27 02:15:15
Also in:
lkml
On 2025/8/21 21:50, Yushan Wang wrote:
The inline path of sysfs should be placed in literal blocks to make documentation look better. Signed-off-by: Yushan Wang <wangyushan12@huawei.com>
Acked-by: Yicong Yang <yangyicong@hisilicon.com>
quoted hunk ↗ jump to hunk
--- Documentation/admin-guide/perf/hisi-pmu.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)diff --git a/Documentation/admin-guide/perf/hisi-pmu.rst b/Documentation/admin-guide/perf/hisi-pmu.rst index 48992a0b8e94..a307bce2f5c5 100644 --- a/Documentation/admin-guide/perf/hisi-pmu.rst +++ b/Documentation/admin-guide/perf/hisi-pmu.rst@@ -18,9 +18,10 @@ HiSilicon SoC uncore PMU driver Each device PMU has separate registers for event counting, control and interrupt, and the PMU driver shall register perf PMU drivers like L3C, HHA and DDRC etc. The available events and configuration options shall -be described in the sysfs, see: +be described in the sysfs, see:: + +/sys/bus/event_source/devices/hisi_sccl{X}_<l3c{Y}/hha{Y}/ddrc{Y}> -/sys/bus/event_source/devices/hisi_sccl{X}_<l3c{Y}/hha{Y}/ddrc{Y}>. The "perf list" command shall list the available events from sysfs. Each L3C, HHA and DDRC is registered as a separate PMU with perf. The PMU