* [PATCH] perf/x86/cstate: Remove unused struct 'perf_cstate_msr'
@ 2024-05-06 0:40 linux
2024-05-20 13:50 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 2+ messages in thread
From: linux @ 2024-05-06 0:40 UTC (permalink / raw)
To: jolsa, peterz; +Cc: linux-perf-users, x86, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.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@treblig.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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] perf/x86/cstate: Remove unused struct 'perf_cstate_msr'
2024-05-06 0:40 [PATCH] perf/x86/cstate: Remove unused struct 'perf_cstate_msr' linux
@ 2024-05-20 13:50 ` Dr. David Alan Gilbert
0 siblings, 0 replies; 2+ messages in thread
From: Dr. David Alan Gilbert @ 2024-05-20 13:50 UTC (permalink / raw)
To: jolsa, peterz, mingo, irogers, adrian.hunter
Cc: linux-perf-users, x86, linux-kernel
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.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@treblig.org>
Ping
> ---
> 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
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-20 13:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 0:40 [PATCH] perf/x86/cstate: Remove unused struct 'perf_cstate_msr' linux
2024-05-20 13:50 ` Dr. David Alan Gilbert
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).