[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac669a87-7517-4a37-8026-67b70e99884c@linux.alibaba.com>
Date: Thu, 5 Dec 2024 15:26:14 +0800
From: Shuai Xue <xueshuai@...ux.alibaba.com>
To: Ilkka Koskinen <ilkka@...amperecomputing.com>,
Jing Zhang <renyu.zj@...ux.alibaba.com>, Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>, Jonathan Corbet <corbet@....net>,
Jonathan Cameron <jonathan.cameron@...wei.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH 2/2] Documentation: dwc_pcie_pmu: Fix the mnemonics and
eventid
在 2024/12/5 14:19, Ilkka Koskinen 写道:
> Fix the event id and type in the example. In addition, the recent fix,
> which addressed the mnemonics with mixed case, didn't fix the document.
> Match the names with the driver.
>
> Signed-off-by: Ilkka Koskinen <ilkka@...amperecomputing.com>
> ---
> Documentation/admin-guide/perf/dwc_pcie_pmu.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/admin-guide/perf/dwc_pcie_pmu.rst b/Documentation/admin-guide/perf/dwc_pcie_pmu.rst
> index 39b8e1fdd0cd..cb376f335f40 100644
> --- a/Documentation/admin-guide/perf/dwc_pcie_pmu.rst
> +++ b/Documentation/admin-guide/perf/dwc_pcie_pmu.rst
> @@ -60,7 +60,7 @@ description of available events and configuration options in sysfs, see
> The "format" directory describes format of the config fields of the
> perf_event_attr structure. The "events" directory provides configuration
> templates for all documented events. For example,
> -"Rx_PCIe_TLP_Data_Payload" is an equivalent of "eventid=0x22,type=0x1".
> +"rx_pcie_tlp_data_payload" is an equivalent of "eventid=0x21,type=0x0".
>
> The "perf list" command shall list the available events from sysfs, e.g.::
>
> @@ -79,8 +79,8 @@ Example usage of counting PCIe RX TLP data payload (Units of bytes)::
>
> The average RX/TX bandwidth can be calculated using the following formula:
>
> - PCIe RX Bandwidth = Rx_PCIe_TLP_Data_Payload / Measure_Time_Window
> - PCIe TX Bandwidth = Tx_PCIe_TLP_Data_Payload / Measure_Time_Window
> + PCIe RX Bandwidth = rx_pcie_tlp_data_payload / Measure_Time_Window
> + PCIe TX Bandwidth = tx_pcie_tlp_data_payload / Measure_Time_Window
>
> Lane Event Usage
> -------------------------------
LGTM.
Reviewed-by: Shuai Xue <xueshuai@...ux.alibaba.com>
Thanks.
Best Regards,
Shuai
Powered by blists - more mailing lists