summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2020-06-25 22:02:29 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2020-06-26 01:33:56 -0700
commita265b40f0b731b0e484fe9b48504f1b6ed0e9e57 (patch)
treec5147ea5b04c69a62835cea293877468576109da /libs/gui/QueueBufferInputOutput.cpp
parent514b046bbb620bc2e45c961cc734025b9677428a (diff)
GPU Memory: ensure bpf program is attached to the tracepoint
Previously GpuMem is gated upon bpfloader loaded. Recently, bpfloader gets initialized much earlier which in return makes GpuMem initialize earlier. However, at that time, the kernel gfx driver may still not get loaded yet. This change fixes the racing here. Bug: 159963505 Test: adb shell dumpsys gpu --gpumem Test: atest gpuservice_unittest:GpuMemTest Change-Id: If434c205ff3175354d85924075fc1de1e91151f9
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions