mbox series

[0/3] Add TLP filter support and some fixes for HiSilicon PCIe PMU

Message ID 20221025113242.58271-1-yangyicong@huawei.com (mailing list archive)
Headers show
Series Add TLP filter support and some fixes for HiSilicon PCIe PMU | expand

Message

Yicong Yang Oct. 25, 2022, 11:32 a.m. UTC
From: Yicong Yang <yangyicong@hisilicon.com>

HiSilicon PCIe PMU support count the bandwidth of TLP headers, TLP payloads
or both. Add support for it. User can set this through perf tool's
'len_mode' like:

  $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,len_mode=0x1/ sleep 5

Also includes 2 fixes of both driver and documentation in this series.

Yicong Yang (3):
  drivers/perf: hisi: Fix some event id for hisi-pcie-pmu
  docs: perf: Fix PMU instance name of hisi-pcie-pmu
  drivers/perf: hisi: Add TLP filter support

 .../admin-guide/perf/hisi-pcie-pmu.rst        | 42 ++++++++++++++-----
 drivers/perf/hisilicon/hisi_pcie_pmu.c        | 22 +++++++---
 2 files changed, 48 insertions(+), 16 deletions(-)

Comments

Yicong Yang Nov. 8, 2022, 11:20 a.m. UTC | #1
Hi,

a gentle ping for this...

Thanks.

On 2022/10/25 19:32, Yicong Yang wrote:
> From: Yicong Yang <yangyicong@hisilicon.com>
> 
> HiSilicon PCIe PMU support count the bandwidth of TLP headers, TLP payloads
> or both. Add support for it. User can set this through perf tool's
> 'len_mode' like:
> 
>   $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,len_mode=0x1/ sleep 5
> 
> Also includes 2 fixes of both driver and documentation in this series.
> 
> Yicong Yang (3):
>   drivers/perf: hisi: Fix some event id for hisi-pcie-pmu
>   docs: perf: Fix PMU instance name of hisi-pcie-pmu
>   drivers/perf: hisi: Add TLP filter support
> 
>  .../admin-guide/perf/hisi-pcie-pmu.rst        | 42 ++++++++++++++-----
>  drivers/perf/hisilicon/hisi_pcie_pmu.c        | 22 +++++++---
>  2 files changed, 48 insertions(+), 16 deletions(-)
>