Merge "atrace: add the webview category" into jb-mr2-dev
This commit is contained in:
commit
f44e9f91f3
@ -69,43 +69,44 @@ struct TracingCategory {
|
|||||||
|
|
||||||
/* Tracing categories */
|
/* Tracing categories */
|
||||||
static const TracingCategory k_categories[] = {
|
static const TracingCategory k_categories[] = {
|
||||||
{ "gfx", "Graphics", ATRACE_TAG_GRAPHICS, { } },
|
{ "gfx", "Graphics", ATRACE_TAG_GRAPHICS, { } },
|
||||||
{ "input", "Input", ATRACE_TAG_INPUT, { } },
|
{ "input", "Input", ATRACE_TAG_INPUT, { } },
|
||||||
{ "view", "View System", ATRACE_TAG_VIEW, { } },
|
{ "view", "View System", ATRACE_TAG_VIEW, { } },
|
||||||
{ "wm", "Window Manager", ATRACE_TAG_WINDOW_MANAGER, { } },
|
{ "webview", "WebView", ATRACE_TAG_WEBVIEW, { } },
|
||||||
{ "am", "Activity Manager", ATRACE_TAG_ACTIVITY_MANAGER, { } },
|
{ "wm", "Window Manager", ATRACE_TAG_WINDOW_MANAGER, { } },
|
||||||
{ "audio", "Audio", ATRACE_TAG_AUDIO, { } },
|
{ "am", "Activity Manager", ATRACE_TAG_ACTIVITY_MANAGER, { } },
|
||||||
{ "video", "Video", ATRACE_TAG_VIDEO, { } },
|
{ "audio", "Audio", ATRACE_TAG_AUDIO, { } },
|
||||||
{ "camera", "Camera", ATRACE_TAG_CAMERA, { } },
|
{ "video", "Video", ATRACE_TAG_VIDEO, { } },
|
||||||
{ "hal", "Hardware Modules", ATRACE_TAG_HAL, { } },
|
{ "camera", "Camera", ATRACE_TAG_CAMERA, { } },
|
||||||
{ "sched", "CPU Scheduling", 0, {
|
{ "hal", "Hardware Modules", ATRACE_TAG_HAL, { } },
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/sched/sched_switch/enable" },
|
{ "sched", "CPU Scheduling", 0, {
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/sched/sched_wakeup/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/sched/sched_switch/enable" },
|
||||||
|
{ REQ, "/sys/kernel/debug/tracing/events/sched/sched_wakeup/enable" },
|
||||||
} },
|
} },
|
||||||
{ "freq", "CPU Frequency", 0, {
|
{ "freq", "CPU Frequency", 0, {
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/power/cpu_frequency/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/power/cpu_frequency/enable" },
|
||||||
{ OPT, "/sys/kernel/debug/tracing/events/power/clock_set_rate/enable" },
|
{ OPT, "/sys/kernel/debug/tracing/events/power/clock_set_rate/enable" },
|
||||||
} },
|
} },
|
||||||
{ "membus", "Memory Bus Utilization", 0, {
|
{ "membus", "Memory Bus Utilization", 0, {
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/memory_bus/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/memory_bus/enable" },
|
||||||
} },
|
} },
|
||||||
{ "idle", "CPU Idle", 0, {
|
{ "idle", "CPU Idle", 0, {
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/power/cpu_idle/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/power/cpu_idle/enable" },
|
||||||
} },
|
} },
|
||||||
{ "disk", "Disk I/O", 0, {
|
{ "disk", "Disk I/O", 0, {
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/ext4/ext4_sync_file_enter/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/ext4/ext4_sync_file_enter/enable" },
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/ext4/ext4_sync_file_exit/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/ext4/ext4_sync_file_exit/enable" },
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/block/block_rq_issue/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/block/block_rq_issue/enable" },
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/block/block_rq_complete/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/block/block_rq_complete/enable" },
|
||||||
} },
|
} },
|
||||||
{ "load", "CPU Load", 0, {
|
{ "load", "CPU Load", 0, {
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/cpufreq_interactive/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/cpufreq_interactive/enable" },
|
||||||
} },
|
} },
|
||||||
{ "sync", "Synchronization", 0, {
|
{ "sync", "Synchronization", 0, {
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/sync/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/sync/enable" },
|
||||||
} },
|
} },
|
||||||
{ "workq", "Kernel Workqueues", 0, {
|
{ "workq", "Kernel Workqueues", 0, {
|
||||||
{ REQ, "/sys/kernel/debug/tracing/events/workqueue/enable" },
|
{ REQ, "/sys/kernel/debug/tracing/events/workqueue/enable" },
|
||||||
} },
|
} },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user