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>
This commit is contained in:
parent
131866e1a4
commit
70ec294153
@ -77,7 +77,7 @@ static const TracingCategory k_categories[] = {
|
|||||||
{ "webview", "WebView", ATRACE_TAG_WEBVIEW, { } },
|
{ "webview", "WebView", ATRACE_TAG_WEBVIEW, { } },
|
||||||
{ "wm", "Window Manager", ATRACE_TAG_WINDOW_MANAGER, { } },
|
{ "wm", "Window Manager", ATRACE_TAG_WINDOW_MANAGER, { } },
|
||||||
{ "am", "Activity Manager", ATRACE_TAG_ACTIVITY_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, { } },
|
{ "audio", "Audio", ATRACE_TAG_AUDIO, { } },
|
||||||
{ "video", "Video", ATRACE_TAG_VIDEO, { } },
|
{ "video", "Video", ATRACE_TAG_VIDEO, { } },
|
||||||
{ "camera", "Camera", ATRACE_TAG_CAMERA, { } },
|
{ "camera", "Camera", ATRACE_TAG_CAMERA, { } },
|
||||||
|
Loading…
Reference in New Issue
Block a user