[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240506004009.770451-1-linux@treblig.org>
Date: Mon, 6 May 2024 01:40:09 +0100
From: linux@...blig.org
To: jolsa@...nel.org,
peterz@...radead.org
Cc: linux-perf-users@...r.kernel.org,
x86@...nel.org,
linux-kernel@...r.kernel.org,
"Dr. David Alan Gilbert" <linux@...blig.org>
Subject: [PATCH] perf/x86/cstate: Remove unused struct 'perf_cstate_msr'
From: "Dr. David Alan Gilbert" <linux@...blig.org>
This looks like it's unused since
Commit 8f2a28c5859b ("perf/x86/cstate: Use new probe function")
Signed-off-by: Dr. David Alan Gilbert <linux@...blig.org>
---
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 326c8cd5aa2d2..dcf3f152a2a64 100644
--- a/arch/x86/events/intel/cstate.c
+++ b/arch/x86/events/intel/cstate.c
@@ -143,12 +143,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.45.0
Powered by blists - more mailing lists