mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] Setting the pmu::capability and modify some code styles
@ 2023-01-19 10:03 Junhao He
  2023-01-19 10:03 ` [PATCH 1/3] drivers/perf: hisi: Advertise the PERF_PMU_CAP_NO_EXCLUDE capability Junhao He
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Junhao He @ 2023-01-19 10:03 UTC (permalink / raw)
  To: will, linux-kernel, jonathan.cameron, mark.rutland
  Cc: linux-arm-kernel, zhangshaokun, catalin.marinas, kernel-team,
	linuxarm, yangyicong, f.fangjian, shenyang39, prime.zeng,
	hejunhao3

Advertise the PERF_PMU_CAP_NO_EXCLUDE capability.

And modify some code style, include the following:
1) Simplify the parameters of hisi_pmu_init() function.
2) Use hisi_pmu_init() function to simplify initialization of "hisi_pmu->pmu".

Junhao He (3):
  drivers/perf: hisi: Advertise the PERF_PMU_CAP_NO_EXCLUDE capability
  drivers/perf: hisi: Simplify the parameters of hisi_pmu_init()
  drivers/perf: hisi: Extract initialization of "cpa_pmu->pmu"

 drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c  | 16 +---------------
 drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c |  2 +-
 drivers/perf/hisilicon/hisi_uncore_hha_pmu.c  |  2 +-
 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c  |  2 +-
 drivers/perf/hisilicon/hisi_uncore_pa_pmu.c   |  2 +-
 drivers/perf/hisilicon/hisi_uncore_pmu.c      |  9 ++++++---
 drivers/perf/hisilicon/hisi_uncore_pmu.h      |  4 ++--
 drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c |  2 +-
 8 files changed, 14 insertions(+), 25 deletions(-)

-- 
2.33.0


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

end of thread, other threads:[~2023-01-19 19:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19 10:03 [PATCH 0/3] Setting the pmu::capability and modify some code styles Junhao He
2023-01-19 10:03 ` [PATCH 1/3] drivers/perf: hisi: Advertise the PERF_PMU_CAP_NO_EXCLUDE capability Junhao He
2023-01-19 10:03 ` [PATCH 2/3] drivers/perf: hisi: Simplify the parameters of hisi_pmu_init() Junhao He
2023-01-19 10:03 ` [PATCH 3/3] drivers/perf: hisi: Extract initialization of "cpa_pmu->pmu" Junhao He
2023-01-19 19:08 ` [PATCH 0/3] Setting the pmu::capability and modify some code styles Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®