add animation hitrace tag

Signed-off-by: lixing0101 <lixing141@huawei.com>
This commit is contained in:
lixing0101 2023-10-31 14:47:14 +08:00
parent 97506d3717
commit 64c4d7057d
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,11 @@
{
"tag_category": {
"animation": {
"description": "Animation",
"tag_offset": 9,
"sysFiles": [],
"type": 0
},
"push": {
"description": "Push subsystem",
"tag_offset": 10,

View File

@ -24,6 +24,7 @@ extern "C" {
constexpr uint64_t HITRACE_TAG_NEVER = 0; // This tag is never enabled.
constexpr uint64_t HITRACE_TAG_ALWAYS = (1ULL << 0); // This tag is always enabled.
constexpr uint64_t HITRACE_TAG_ANIMATION = (1ULL << 9); // Animation subsystem tag.
constexpr uint64_t HITRACE_TAG_PUSH = (1ULL << 10); // Push subsystem tag.
constexpr uint64_t HITRACE_TAG_VIRSE = (1ULL << 11); // virtualization service.
constexpr uint64_t HITRACE_TAG_MUSL = (1ULL << 12); // musl module.