diff options
| author | 2022-09-15 17:04:11 +0000 | |
|---|---|---|
| committer | 2022-12-14 17:12:58 +0000 | |
| commit | 2e9166e648610f350bcff393e329faa0174dcbae (patch) | |
| tree | 966abbcfc520428016010d3f5e79c49ec09a2b2c /libs/gui/LayerState.cpp | |
| parent | f533eb15e88a5e2f0f5404581c0bef20b5bc9a40 (diff) | |
Support reading vendor categories from file instead of HAL
There are three types of categories in atrace.cpp now:
* The builtin categories (not affected by this change).
* The new vendor categories read from the file. They're discoved at
runtime, but they behave like the builtin categories (they're enabled
by writing to tracefs).
* The old HAL categories. They're listed, enabled and disabled by
calling the HAL. They are not discovered at all now if the vendor file
is there.
Tested on a device with a vendor file, by listing categories and making
sure that enabling them has the expected effect on tracefs.
Bug: 204935495
Change-Id: I3117c42a005aca0b736c538a274b0d76887cb706
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions