summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayLuts.cpp
diff options
context:
space:
mode:
author Varad Gautam <varadgautam@google.com> 2024-08-26 10:39:48 +0000
committer Varad Gautam <varadgautam@google.com> 2024-08-26 16:19:45 +0000
commitb0684da40ee7286814b99d700bd2b4214b2248a8 (patch)
tree407bb327b0894424ac51e558f9a99c61edcb27bb /libs/gui/DisplayLuts.cpp
parenta278f86eac8093e7f4ef027072f048b022479643 (diff)
GpuWork: Delay GpuWork thread initialization
On boot, `GpuWork::initialize()` tries to register an atom pull callback with statsd via `setPullAtomCallback()`. If `setPullAtomCallback()` is called before statsd is ready to register callbacks, statsd will just drop any requests without returning an error. The caller has no way to know if the callback registration failed or should be retried. This prevents gpuservice from exporting any gpuwork data, as gpuservice starts with class core, ie quite early upon boot. Add a delay to GpuWork::initialize() to allow for statsd/bpf init. Flag: EXEMPT bugfix Bug: 347657694 Test: statsd_testdrive 10147 Change-Id: Ic5ef399d8a780b082e52f51108a15eecf89f077e Signed-off-by: Varad Gautam <varadgautam@google.com>
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions