mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user