summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Maciej Żenczykowski <maze@google.com> 2022-06-09 19:52:41 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-06-09 19:52:41 +0000
commitba95810b2280dd1fccb5728ea46a738507a99e15 (patch)
tree0fc3ee35ff86d8f6dc215bb09adb83e7a1eb093b
parent91dc9f36f63e362d7adf8aa6c12de17ac8f04f2b (diff)
parent0223fd80e7ff51b6af8ef4699b000bb7b0b2dbd5 (diff)
add explicit 32-bits of padding to UidTrackingInfo struct am: 8f4e41d679 am: 0223fd80e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/18800447 Change-Id: I4b803ca7b8fb36044b3cc7a110bf8159ac0ef5ce Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--services/gpuservice/gpuwork/bpfprogs/include/gpuwork/gpu_work.h2
1 files changed, 2 insertions, 0 deletions
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 {