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
1 changed files with 4 additions and 4 deletions
|
|
@ -15,10 +15,10 @@ struct hyp_entry_hdr {
|
||||||
/*
|
/*
|
||||||
* Hyp events definitions common to the hyp and the host
|
* Hyp events definitions common to the hyp and the host
|
||||||
*/
|
*/
|
||||||
#define HYP_EVENT_FORMAT(__name, __struct) \
|
#define HYP_EVENT_FORMAT(__name, __struct) \
|
||||||
struct trace_hyp_format_##__name { \
|
struct __packed trace_hyp_format_##__name { \
|
||||||
struct hyp_entry_hdr hdr; \
|
struct hyp_entry_hdr hdr; \
|
||||||
__struct \
|
__struct \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define HE_PROTO(args...) args
|
#define HE_PROTO(args...) args
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue