[PATCH v1 9/9] perf s390-cpumsf: Remove the unused 'pmu_type' field

Leo Yan leo.yan at arm.com
Tue Aug 6 13:41:30 PDT 2024


The 'pmu_type' field is not used, remove it.

Signed-off-by: Leo Yan <leo.yan at arm.com>
---
 tools/perf/util/s390-cpumsf.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/perf/util/s390-cpumsf.c b/tools/perf/util/s390-cpumsf.c
index a9b0dea199d5..3d6253a4c5cf 100644
--- a/tools/perf/util/s390-cpumsf.c
+++ b/tools/perf/util/s390-cpumsf.c
@@ -172,7 +172,6 @@ struct s390_cpumsf {
 	struct perf_session	*session;
 	struct machine		*machine;
 	u32			auxtrace_type;
-	u32			pmu_type;
 	u16			machine_type;
 	bool			data_queued;
 	bool			use_logfile;
@@ -1136,7 +1135,6 @@ int s390_cpumsf_process_auxtrace_info(union perf_event *event,
 	sf->session = session;
 	sf->machine = &session->machines.host; /* No kvm support */
 	sf->auxtrace_type = auxtrace_info->type;
-	sf->pmu_type = PERF_TYPE_RAW;
 	sf->machine_type = s390_cpumsf_get_type(session->evlist->env->cpuid);
 
 	sf->auxtrace.process_event = s390_cpumsf_process_event;
-- 
2.34.1




More information about the linux-arm-kernel mailing list