From 8f4e41d679d67436ee3868cab8785a35b3cc613f Mon Sep 17 00:00:00 2001 From: Maciej Żenczykowski Date: Wed, 8 Jun 2022 21:38:21 +0000 Subject: add explicit 32-bits of padding to UidTrackingInfo struct MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (fixes 32-bit arch) Bug: 235386871 Test: TreeHugger Signed-off-by: Maciej Żenczykowski Change-Id: I9c37483eca17011f3f6d9755427c5a380166228e --- services/gpuservice/gpuwork/bpfprogs/include/gpuwork/gpu_work.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/gpuservice/gpuwork/bpfprogs/include/gpuwork/gpu_work.h b/services/gpuservice/gpuwork/bpfprogs/include/gpuwork/gpu_work.h index 57338f4c91..2affb60a0c 100644 --- a/services/gpuservice/gpuwork/bpfprogs/include/gpuwork/gpu_work.h +++ b/services/gpuservice/gpuwork/bpfprogs/include/gpuwork/gpu_work.h @@ -49,6 +49,8 @@ typedef struct { // negative duration. uint32_t error_count; + // Needed to make 32-bit arch struct size match 64-bit BPF arch struct size. + uint32_t padding0; } UidTrackingInfo; typedef struct { -- cgit v1.2.3-59-g8ed1b