diff options
author | Jeff Brown <jeffbrown@google.com> | 2014-08-14 19:24:47 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2014-08-14 19:24:47 -0700 |
commit | 3200b0bf507936ecf43784191880e4e91c54568c (patch) | |
tree | 6be6214a37cdab5e15b441ae4a3958fabf573869 /cmds/atrace | |
parent | 3b14e5b1f3fd1f3ef66696dc7ce4e53b6af3c309 (diff) | |
download | frameworks_native-3200b0bf507936ecf43784191880e4e91c54568c.zip frameworks_native-3200b0bf507936ecf43784191880e4e91c54568c.tar.gz frameworks_native-3200b0bf507936ecf43784191880e4e91c54568c.tar.bz2 |
Add trace tag for power management.
Also added a couple of other existing missing tags in atrace.
Bug: 17004602
Change-Id: I6f697a2a15922bd4695acfa203d45eaae40cd00e
Diffstat (limited to 'cmds/atrace')
-rw-r--r-- | cmds/atrace/atrace.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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" }, |