diff options
author | Maciej Żenczykowski <maze@google.com> | 2022-06-08 21:38:21 +0000 |
---|---|---|
committer | Chris Forbes <chrisforbes@google.com> | 2022-06-08 23:11:22 +0000 |
commit | 8f4e41d679d67436ee3868cab8785a35b3cc613f (patch) | |
tree | c5509fb9771d705785e19c2828343af782e59240 | |
parent | 0a33146773bd8e076fd72697aeff2279cf7e4839 (diff) | |
download | native-8f4e41d679d67436ee3868cab8785a35b3cc613f.tar.gz |
add explicit 32-bits of padding to UidTrackingInfo struct
(fixes 32-bit arch)
Bug: 235386871
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I9c37483eca17011f3f6d9755427c5a380166228e
-rw-r--r-- | services/gpuservice/gpuwork/bpfprogs/include/gpuwork/gpu_work.h | 2 |
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 { |