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-10-23 13:52:05 -0700
commita3dae23fbe4c43c9d4754f8c0f24146acdbf91f5 (patch)
treeb6bf901920fe1f624f4775a9e727f4efb08e08ac /libs/gui/QueueBufferInputOutput.cpp
parentf3337153acc0983e7bea1afb4b871e3f721bab12 (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 Merged-In: If434c205ff3175354d85924075fc1de1e91151f9
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions