Add RenderScript category for atrace.

Change-Id: I069a301329f4a579c7b2716fa52c3f4a0ae0062b
This commit is contained in:
Tim Murray 2013-05-23 14:39:42 -07:00
parent d837969640
commit f0f2841d95

View File

@ -82,6 +82,7 @@ static const TracingCategory k_categories[] = {
{ "hal", "Hardware Modules", ATRACE_TAG_HAL, { } }, { "hal", "Hardware Modules", ATRACE_TAG_HAL, { } },
{ "res", "Resource Loading", ATRACE_TAG_RESOURCES, { } }, { "res", "Resource Loading", ATRACE_TAG_RESOURCES, { } },
{ "dalvik", "Dalvik VM", ATRACE_TAG_DALVIK, { } }, { "dalvik", "Dalvik VM", ATRACE_TAG_DALVIK, { } },
{ "rs", "RenderScript", ATRACE_TAG_RS, { } },
{ "sched", "CPU Scheduling", 0, { { "sched", "CPU Scheduling", 0, {
{ REQ, "/sys/kernel/debug/tracing/events/sched/sched_switch/enable" }, { REQ, "/sys/kernel/debug/tracing/events/sched/sched_switch/enable" },
{ REQ, "/sys/kernel/debug/tracing/events/sched/sched_wakeup/enable" }, { REQ, "/sys/kernel/debug/tracing/events/sched/sched_wakeup/enable" },