atrace: Add mali_systrace ftrace events to 'gfx'
The Mali driver in Exynos kernels can emit events when jobs are
submitted to the hardware and when they finish. Enable these events
under the 'gfx' tag.
Test: systrace.py gfx
(using modified systrace not yet merged upstream)
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 913090d..506fbd9 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -95,6 +95,7 @@
{ "gfx", "Graphics", ATRACE_TAG_GRAPHICS, {
{ OPT, "events/mdss/enable" },
{ OPT, "events/sde/enable" },
+ { OPT, "events/mali_systrace/enable" },
} },
{ "input", "Input", ATRACE_TAG_INPUT, { } },
{ "view", "View System", ATRACE_TAG_VIEW, { } },