Re: [PATCH 3/3] perf/dwc_pcie: Fix typos in event names

From: Jing Zhang
Date: Wed Oct 09 2024 - 05:07:40 EST


You are right.

Reviewed-by: Jing Zhang <renyu.zj@xxxxxxxxxxxxxxxxx>

在 2024/10/9 上午7:18, Ilkka Koskinen 写道:
> Fix a few typos in event names
>
> Signed-off-by: Ilkka Koskinen <ilkka@xxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/perf/dwc_pcie_pmu.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/perf/dwc_pcie_pmu.c b/drivers/perf/dwc_pcie_pmu.c
> index d752168733cf..6e2214a6d6d8 100644
> --- a/drivers/perf/dwc_pcie_pmu.c
> +++ b/drivers/perf/dwc_pcie_pmu.c
> @@ -217,9 +217,9 @@ static struct attribute *dwc_pcie_pmu_time_event_attrs[] = {
> DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_update_fc_dllp, 0x601),
> DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_ack_dllp, 0x602),
> DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_update_fc_dllp, 0x603),
> - DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_nulified_tlp, 0x604),
> - DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_nulified_tlp, 0x605),
> - DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_duplicate_tl, 0x606),
> + DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_nullified_tlp, 0x604),
> + DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_nullified_tlp, 0x605),
> + DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_duplicate_tlp, 0x606),
> DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_memory_write, 0x700),
> DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_memory_read, 0x701),
> DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_configuration_write, 0x702),