diff mbox series

[v1] platform/x86/intel/ifs: trace: Avoid hole in ifs_status trace struct

Message ID 20240730155758.1754419-1-sathyanarayanan.kuppuswamy@linux.intel.com (mailing list archive)
State Handled Elsewhere
Headers show
Series [v1] platform/x86/intel/ifs: trace: Avoid hole in ifs_status trace struct | expand

Commit Message

Kuppuswamy Sathyanarayanan July 30, 2024, 3:57 p.m. UTC
Rearrange the ifs_status trace struct members to eliminate a 4-byte
alignment hole. It reduces memory overhead.

Suggested-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: Jithu Joseph <jithu.joseph@intel.com>
Reviewed-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
---
 include/trace/events/intel_ifs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/trace/events/intel_ifs.h b/include/trace/events/intel_ifs.h
index 0d88ebf2c980..32e9532e954e 100644
--- a/include/trace/events/intel_ifs.h
+++ b/include/trace/events/intel_ifs.h
@@ -15,8 +15,8 @@  TRACE_EVENT(ifs_status,
 	TP_ARGS(batch, start, stop, status),
 
 	TP_STRUCT__entry(
-		__field(	int,	batch	)
 		__field(	u64,	status	)
+		__field(	int,	batch	)
 		__field(	u16,	start	)
 		__field(	u16,	stop	)
 	),