From 3200b0bf507936ecf43784191880e4e91c54568c Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Thu, 14 Aug 2014 19:24:47 -0700 Subject: Add trace tag for power management. Also added a couple of other existing missing tags in atrace. Bug: 17004602 Change-Id: I6f697a2a15922bd4695acfa203d45eaae40cd00e --- cmds/atrace/atrace.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmds') diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp index 0d71bbd..f124caf 100644 --- a/cmds/atrace/atrace.cpp +++ b/cmds/atrace/atrace.cpp @@ -77,14 +77,17 @@ static const TracingCategory k_categories[] = { { "webview", "WebView", ATRACE_TAG_WEBVIEW, { } }, { "wm", "Window Manager", ATRACE_TAG_WINDOW_MANAGER, { } }, { "am", "Activity Manager", ATRACE_TAG_ACTIVITY_MANAGER, { } }, + { "sync", "Sync Manager", ATRACE_TAG_SYNC_MANAGER, { } }, { "audio", "Audio", ATRACE_TAG_AUDIO, { } }, { "video", "Video", ATRACE_TAG_VIDEO, { } }, { "camera", "Camera", ATRACE_TAG_CAMERA, { } }, { "hal", "Hardware Modules", ATRACE_TAG_HAL, { } }, + { "app", "Application", ATRACE_TAG_APP, { } }, { "res", "Resource Loading", ATRACE_TAG_RESOURCES, { } }, { "dalvik", "Dalvik VM", ATRACE_TAG_DALVIK, { } }, { "rs", "RenderScript", ATRACE_TAG_RS, { } }, { "bionic", "Bionic C Library", ATRACE_TAG_BIONIC, { } }, + { "power", "Power Management", ATRACE_TAG_POWER, { } }, { "sched", "CPU Scheduling", 0, { { REQ, "/sys/kernel/debug/tracing/events/sched/sched_switch/enable" }, { REQ, "/sys/kernel/debug/tracing/events/sched/sched_wakeup/enable" }, -- cgit v1.1