All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/7] drivers/perf: Use general macro to simplify event attributes
@ 2021-06-09  6:40 ` Qi Liu
  0 siblings, 0 replies; 18+ messages in thread
From: Qi Liu @ 2021-06-09  6:40 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, will; +Cc: linuxarm

This patchset applies a general EVENT_ATTR_ID to simplify event
attributes in many PMU drivers.

Changes since v3:
- Drop changes in arm_dsu_pmu.c and hisi_uncore_pmu.c.
- Link: https://lore.kernel.org/linux-arm-kernel/1623123201-45634-1-git-send-email-liuqi115@huawei.com/

Changes since v2:
- Add _func parameter in common marcro, so string can be determined by driver.
- Link: https://lore.kernel.org/linux-arm-kernel/1621417919-6632-1-git-send-email-liuqi115@huawei.com/

Changes since v1:
- +CC maintainers of each PMU driver.
- Link: https://lore.kernel.org/linux-arm-kernel/1621322628-9945-1-git-send-email-liuqi115@huawei.com/

Qi Liu (7):
  perf: Add EVENT_ATTR_ID to simplify event attributes
  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
  arm64: perf: Simplify EVENT ATTR macro in perf_event.c

 arch/arm64/kernel/perf_event.c   |  5 +----
 drivers/perf/arm_smmuv3_pmu.c    |  7 ++-----
 drivers/perf/fsl_imx8_ddr_perf.c |  7 ++-----
 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 ++++++
 7 files changed, 18 insertions(+), 30 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-06-11 16:17 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09  6:40 [PATCH v4 0/7] drivers/perf: Use general macro to simplify event attributes Qi Liu
2021-06-09  6:40 ` Qi Liu
2021-06-09  6:40 ` [PATCH v4 1/7] perf: Add EVENT_ATTR_ID " Qi Liu
2021-06-09  6:40   ` Qi Liu
2021-06-09  6:40 ` [PATCH v4 2/7] drivers/perf: Simplify EVENT ATTR macro in SMMU PMU driver Qi Liu
2021-06-09  6:40   ` Qi Liu
2021-06-09  6:40 ` [PATCH v4 3/7] drivers/perf: Simplify EVENT ATTR macro in qcom_l2_pmu.c Qi Liu
2021-06-09  6:40   ` Qi Liu
2021-06-09  6:41 ` [PATCH v4 4/7] drivers/perf: Simplify EVENT ATTR macro in qcom_l3_pmu.c Qi Liu
2021-06-09  6:41   ` Qi Liu
2021-06-09  6:41 ` [PATCH v4 5/7] drivers/perf: Simplify EVENT ATTR macro in xgene_pmu.c Qi Liu
2021-06-09  6:41   ` Qi Liu
2021-06-09  6:41 ` [PATCH v4 6/7] drivers/perf: Simplify EVENT ATTR macro in fsl_imx8_ddr_perf.c Qi Liu
2021-06-09  6:41   ` Qi Liu
2021-06-09  6:41 ` [PATCH v4 7/7] arm64: perf: Simplify EVENT ATTR macro in perf_event.c Qi Liu
2021-06-09  6:41   ` Qi Liu
2021-06-11 16:15 ` [PATCH v4 0/7] drivers/perf: Use general macro to simplify event attributes Will Deacon
2021-06-11 16:15   ` Will Deacon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.