summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Zimuzo Ezeozue <zezeozue@google.com> 2024-05-09 03:25:54 +0100
committer Zimuzo Ezeozue <zezeozue@google.com> 2024-07-10 09:27:57 +0000
commit32bd15298d2c3072b850e72ff24a28b4d48e7c8b (patch)
treeb78da5666b39516e8bf780a9f0e13b5a47c6b074 /libs/gui/ConsumerBase.cpp
parent0bab92863cc46faca56c31eeec9edf69a9c65346 (diff)
Support perfetto track_event prefer
Trace.java now supports per-category tracing to perfetto if specified in the config. When we trace to perfetto, the event will be missing from the ftrace buffer. This means that a concurrent session that has the same category enabled for atrace will be missing the atrace event. To avoid this, the config can specify that the perfetto event can be preferred. This means that despite the category being enabled for atrace, we will trace to perfetto if the category is enabled there. By default, the perfetto event is not preferred, but it can be preferred explicitly in the config with atrace_categories_prefer_track_event. Bug: 303199244 Test: atest libtracing_perfetto_tests Flag: android.os.flags.perfetto_sdk_tracing Change-Id: Idf7cfc7c7f9c8ac4191cabff3d958926606f564b
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions