Add MDSS tracing to gfx category
Bug: 62039896
Test: Ran systrace, verified mdss shows up with just gfx tag
Change-Id: Icc2d343fecbec9a63b97adae857208ca6a98f607
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 457d203..ca799c9 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -89,7 +89,9 @@
/* Tracing categories */
static const TracingCategory k_categories[] = {
- { "gfx", "Graphics", ATRACE_TAG_GRAPHICS, { } },
+ { "gfx", "Graphics", ATRACE_TAG_GRAPHICS, {
+ { OPT, "events/mdss/enable" },
+ } },
{ "input", "Input", ATRACE_TAG_INPUT, { } },
{ "view", "View System", ATRACE_TAG_VIEW, { } },
{ "webview", "WebView", ATRACE_TAG_WEBVIEW, { } },