ANDROID: KVM: arm64: Fix hyp event alignment
The structures that define hyp events must be packed so they match their format definitions in the tracefs file hyp/events/hyp/<event>/format. Bug: 299430621 Change-Id: Ia7e1a686744d5c9c3f8a21881f03228c8acecade Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
This commit is contained in:
parent
717d1f8f91
commit
15a93de464
@ -15,10 +15,10 @@ struct hyp_entry_hdr {
|
||||
/*
|
||||
* Hyp events definitions common to the hyp and the host
|
||||
*/
|
||||
#define HYP_EVENT_FORMAT(__name, __struct) \
|
||||
struct trace_hyp_format_##__name { \
|
||||
struct hyp_entry_hdr hdr; \
|
||||
__struct \
|
||||
#define HYP_EVENT_FORMAT(__name, __struct) \
|
||||
struct __packed trace_hyp_format_##__name { \
|
||||
struct hyp_entry_hdr hdr; \
|
||||
__struct \
|
||||
}
|
||||
|
||||
#define HE_PROTO(args...) args
|
||||
|
Loading…
Reference in New Issue
Block a user