OSDN Git Service

atrace: make clock & bus bw tracing optional
authorJamie Gennis <jgennis@google.com>
Fri, 5 Oct 2012 23:04:12 +0000 (16:04 -0700)
committerJamie Gennis <jgennis@google.com>
Fri, 5 Oct 2012 23:38:04 +0000 (16:38 -0700)
commit24505a5826d7c5cf89f3da85058befd671a73444
tree9a3910b32d912bdb237ef87dbd297fe2d4dabe44
parenta404a7e9bb05f4c1b0c9312d10a4c96c6cbdfcc9
atrace: make clock & bus bw tracing optional

This change makes enabling clock tracing and bus bandwidth tracing depend on
whether the device's kernel supports these features.  If it's not supported it
will be skipped.

Change-Id: I51d57299693635b0ecebb75de5dccd5b62d47be3
atrace/atrace.c