From aab96c1c654136f8b4a0785e6b9a0e103cce4c07 Mon Sep 17 00:00:00 2001 From: z00403769 Date: Tue, 21 Dec 2021 15:51:17 +0800 Subject: [PATCH] TicketNo:AR000GH09M Description:add window tag Team:OTHERS Feature or Bugfix:Feature Binary Source:No PrivateCode(Yes/No):No Signed-off-by: anderskov Change-Id: Iaa46b684ef7d6828abf2f5175a1bcafdf10f80da --- bin/src/bytrace.cpp | 1 + interfaces/innerkits/native/include/bytrace.h | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/src/bytrace.cpp b/bin/src/bytrace.cpp index b050934..74e7af5 100755 --- a/bin/src/bytrace.cpp +++ b/bin/src/bytrace.cpp @@ -805,6 +805,7 @@ static void InitAllSupportTags() g_tagMap["dsoftbus"] = { "dsoftbus", "Distributed Softbus", BYTRACE_TAG_DSOFTBUS, USER, {}}; g_tagMap["rpc"] = { "rpc", "RPC and IPC", BYTRACE_TAG_RPC, USER, {}}; g_tagMap["ark"] = { "ark", "ARK Module", BYTRACE_TAG_ARK, USER, {}}; + g_tagMap["window"] = { "window", "Window Manager", BYTRACE_TAG_WINDOW_MANAGER, USER, {}}; g_tagMap["app"] = { "app", "APP Module", BYTRACE_TAG_APP, USER, {}}; g_tagMap["zbinder"] = { "zbinder", "Harmony binder communication", 0, KERNEL, { { "events/zbinder/enable" }, diff --git a/interfaces/innerkits/native/include/bytrace.h b/interfaces/innerkits/native/include/bytrace.h index 28724b7..dab48ca 100755 --- a/interfaces/innerkits/native/include/bytrace.h +++ b/interfaces/innerkits/native/include/bytrace.h @@ -43,6 +43,7 @@ constexpr uint64_t BYTRACE_TAG_MSDP = (1ULL << 44); // Multimodal Sensor Data Pl constexpr uint64_t BYTRACE_TAG_DSOFTBUS = (1ULL << 45); // Distributed Softbus tag. constexpr uint64_t BYTRACE_TAG_RPC = (1ULL << 46); // RPC and IPC tag. constexpr uint64_t BYTRACE_TAG_ARK = (1ULL << 47); // ARK tag. +constexpr uint64_t BYTRACE_TAG_WINDOW_MANAGER = (1ULL << 48); // window manager tag. constexpr uint64_t BYTRACE_TAG_APP = (1ULL << 62); // App tag. constexpr uint64_t BYTRACE_TAG_LAST = BYTRACE_TAG_APP;