[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1621322628-9945-1-git-send-email-liuqi115@huawei.com>
Date: Tue, 18 May 2021 15:23:39 +0800
From: Qi Liu <liuqi115@...wei.com>
To: <will@...nel.org>, <mark.rutland@....com>, <john.garry@...wei.com>
CC: <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linuxarm@...wei.com>,
<zhangshaokun@...ilicon.com>
Subject: [PATCH 0/9] drivers/perf: Use general macro to simplify event attributes
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(-)
--
2.7.4
Powered by blists - more mailing lists