mbox series

[0/9] drivers/perf: Use general macro to simplify event attributes

Message ID 1621322628-9945-1-git-send-email-liuqi115@huawei.com (mailing list archive)
Headers show
Series drivers/perf: Use general macro to simplify event attributes | expand

Message

liuqi (BA) May 18, 2021, 7:23 a.m. UTC
This patchset apply a general EVENT_ATTR_ID to simplify event
attributes in many PMU drivers.

Qi Liu (9):
  perf: Add EVENT_ATTR_ID to simplify event attributes
  drivers/perf: hisi: Remove redundant macro and functions
  drivers/perf: Remove redundant macro and functions in arm_smmuv3_pmu.c
  drivers/perf: Remove redundant macro and functions in qcom_l2_pmu.c
  drivers/perf: Remove redundant macro and functions in qcom_l3_pmu.c
  drivers/perf: Remove redundant macro and functions in xgene_pmu.c
  drivers/perf: Remove redundant macro and functions in fsl_imx8_ddr_perf.c
  drivers/perf: Remove redundant macro and functions in arm_dsu_pmu.c
  arm64: perf: Remove redundant macro and functions in perf_event.c

 arch/arm64/kernel/perf_event.c                | 175 +++++-----
 drivers/perf/arm_dsu_pmu.c                    |  28 +-
 drivers/perf/arm_smmuv3_pmu.c                 |  33 +-
 drivers/perf/fsl_imx8_ddr_perf.c              |  80 ++---
 drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c |  22 +-
 drivers/perf/hisilicon/hisi_uncore_hha_pmu.c  |  62 ++--
 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c  |  34 +-
 drivers/perf/hisilicon/hisi_uncore_pa_pmu.c   |   6 +-
 drivers/perf/hisilicon/hisi_uncore_pmu.c      |  14 -
 drivers/perf/hisilicon/hisi_uncore_pmu.h      |   2 -
 drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c |  10 +-
 drivers/perf/qcom_l2_pmu.c                    |  37 +-
 drivers/perf/qcom_l3_pmu.c                    |  30 +-
 drivers/perf/xgene_pmu.c                      | 475 +++++++++++++-------------
 include/linux/perf_event.h                    |   6 +
 kernel/events/core.c                          |   2 +
 16 files changed, 450 insertions(+), 566 deletions(-)