summaryrefslogtreecommitdiffstats
path: root/cmds/atrace
diff options
context:
space:
mode:
authorPatrick Auchter <auchter@motorola.com>2014-09-30 15:38:30 -0500
committerIliyan Malchev <malchev@google.com>2014-10-27 13:07:58 -0700
commit70ec2941530766bdca09ef2983a3ff794c028ee6 (patch)
tree3396d7303780c00a69d03b5626cb7359d851db4a /cmds/atrace
parent131866e1a4cb3c592f923e95a8c1a66291e2057a (diff)
downloadframeworks_native-70ec2941530766bdca09ef2983a3ff794c028ee6.zip
frameworks_native-70ec2941530766bdca09ef2983a3ff794c028ee6.tar.gz
frameworks_native-70ec2941530766bdca09ef2983a3ff794c028ee6.tar.bz2
atrace: fix Sync Manager tracing preventing enabling of kernel sync tracing
Both Sync Manager tracing and kernel sync tracing were using "sync" to enable tracing and since Sync Manager was found first, this prevented enabling kernel sync tracing. To fix this, use "syncman" to enable Sync Manager tracing. Change-Id: Id3b799e01e5041c582cd752c8c40d3e36954f821 Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'cmds/atrace')
-rw-r--r--cmds/atrace/atrace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 9e5c910..f0a52d8 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -77,7 +77,7 @@ 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, { } },
+ { "sm", "Sync Manager", ATRACE_TAG_SYNC_MANAGER, { } },
{ "audio", "Audio", ATRACE_TAG_AUDIO, { } },
{ "video", "Video", ATRACE_TAG_VIDEO, { } },
{ "camera", "Camera", ATRACE_TAG_CAMERA, { } },