* [PATCH] perf/x86/cstate: Remove unused struct perf_cstate_msr
@ 2022-09-28 8:58 Yuan Can
0 siblings, 0 replies; only message in thread
From: Yuan Can @ 2022-09-28 8:58 UTC (permalink / raw)
To: peterz, mingo, acme, mark.rutland, alexander.shishkin, jolsa,
namhyung, tglx, bp, dave.hansen, hpa, linux-perf-users
Cc: yuancan
After commit 8f2a28c5859b("perf/x86/cstate: Use new probe function"), struct
perf_cstate_msr is not used any more and can be removed as well.
Signed-off-by: Yuan Can <yuancan@huawei.com>
---
arch/x86/events/intel/cstate.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c
index 8ec23f47fee9..5af1b111631b 100644
--- a/arch/x86/events/intel/cstate.c
+++ b/arch/x86/events/intel/cstate.c
@@ -136,12 +136,6 @@ struct cstate_model {
#define SLM_PKG_C6_USE_C7_MSR (1UL << 0)
#define KNL_CORE_C6_MSR (1UL << 1)
-struct perf_cstate_msr {
- u64 msr;
- struct perf_pmu_events_attr *attr;
-};
-
-
/* cstate_core PMU */
static struct pmu cstate_core_pmu;
static bool has_cstate_core;
--
2.17.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-28 8:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-28 8:58 [PATCH] perf/x86/cstate: Remove unused struct perf_cstate_msr Yuan Can
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).