mbox series

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

Message ID 1623123201-45634-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) June 8, 2021, 3:33 a.m. UTC
This patchset applies 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: Simplify EVENT ATTR macro in HiSilicon PMU driver
  drivers/perf: Simplify EVENT ATTR macro in SMMU PMU driver
  drivers/perf: Simplify EVENT ATTR macro in qcom_l2_pmu.c
  drivers/perf: Simplify EVENT ATTR macro in qcom_l3_pmu.c
  drivers/perf: Simplify EVENT ATTR macro in xgene_pmu.c
  drivers/perf: Simplify EVENT ATTR macro in fsl_imx8_ddr_perf.c
  drivers/perf: Simpilfy EVENT ATTR macro in arm_dsu_pmu.c
  arm64: perf: Simplify EVENT ATTR macro in perf_event.c

 arch/arm64/kernel/perf_event.c           |  5 +----
 drivers/perf/arm_dsu_pmu.c               |  2 +-
 drivers/perf/arm_smmuv3_pmu.c            |  7 ++-----
 drivers/perf/fsl_imx8_ddr_perf.c         |  7 ++-----
 drivers/perf/hisilicon/hisi_uncore_pmu.c |  7 +++----
 drivers/perf/hisilicon/hisi_uncore_pmu.h |  2 +-
 drivers/perf/qcom_l2_pmu.c               |  7 ++-----
 drivers/perf/qcom_l3_pmu.c               |  5 +----
 drivers/perf/xgene_pmu.c                 | 11 ++++-------
 include/linux/perf_event.h               |  6 ++++++
 10 files changed, 23 insertions(+), 36 deletions(-)

Comments

liuqi (BA) June 8, 2021, 6:07 a.m. UTC | #1
Hi Will,

Please ignore this patchset, as I forget to add changelog.
I'll resend this latter.

Thanks,
Qi

On 2021/6/8 11:33, Qi Liu wrote:
> This patchset applies 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: Simplify EVENT ATTR macro in HiSilicon PMU driver
>    drivers/perf: Simplify EVENT ATTR macro in SMMU PMU driver
>    drivers/perf: Simplify EVENT ATTR macro in qcom_l2_pmu.c
>    drivers/perf: Simplify EVENT ATTR macro in qcom_l3_pmu.c
>    drivers/perf: Simplify EVENT ATTR macro in xgene_pmu.c
>    drivers/perf: Simplify EVENT ATTR macro in fsl_imx8_ddr_perf.c
>    drivers/perf: Simpilfy EVENT ATTR macro in arm_dsu_pmu.c
>    arm64: perf: Simplify EVENT ATTR macro in perf_event.c
> 
>   arch/arm64/kernel/perf_event.c           |  5 +----
>   drivers/perf/arm_dsu_pmu.c               |  2 +-
>   drivers/perf/arm_smmuv3_pmu.c            |  7 ++-----
>   drivers/perf/fsl_imx8_ddr_perf.c         |  7 ++-----
>   drivers/perf/hisilicon/hisi_uncore_pmu.c |  7 +++----
>   drivers/perf/hisilicon/hisi_uncore_pmu.h |  2 +-
>   drivers/perf/qcom_l2_pmu.c               |  7 ++-----
>   drivers/perf/qcom_l3_pmu.c               |  5 +----
>   drivers/perf/xgene_pmu.c                 | 11 ++++-------
>   include/linux/perf_event.h               |  6 ++++++
>   10 files changed, 23 insertions(+), 36 deletions(-)
>