mbox series

[0/7] Several updates for HiSilicon PCIe PMU driver

Message ID 20240204074527.47110-1-yangyicong@huawei.com (mailing list archive)
Headers show
Series Several updates for HiSilicon PCIe PMU driver | expand

Message

Yicong Yang Feb. 4, 2024, 7:45 a.m. UTC
From: Yicong Yang <yangyicong@hisilicon.com>

This series mainly fix and optimize the several usage of the driver:
- Add more events to complement the TLP bandwidth counting
- Fix the wrong counting on using the event group
- Properly check the target filter to avoid invalid filter value
- Optimize the handling of related events which are not in an event group
- Update the docs

Junhao He (4):
  drivers/perf: hisi_pcie: Check the target filter properly
  drivers/perf: hisi_pcie: Relax the check on related events
  drivers/perf: hisi_pcie: Merge find_related_event() and
    get_event_idx()
  docs: perf: Update usage for target filter of hisi-pcie-pmu

Yicong Yang (3):
  drivers/perf: hisi_pcie: Introduce hisi_pcie_pmu_get_filter()
  drivers/perf: hisi_pcie: Fix incorrect counting under metric mode
  drivers/perf: hisi_pcie: Add more events for counting TLP bandwidth

 .../admin-guide/perf/hisi-pcie-pmu.rst        | 31 ++++--
 drivers/perf/hisilicon/hisi_pcie_pmu.c        | 99 ++++++++++---------
 2 files changed, 74 insertions(+), 56 deletions(-)