OSDN Git Service

atrace: enable running on user builds
authorJamie Gennis <jgennis@google.com>
Thu, 7 Jun 2012 23:27:03 +0000 (16:27 -0700)
committerJamie Gennis <jgennis@google.com>
Fri, 8 Jun 2012 00:52:34 +0000 (17:52 -0700)
commit4b23eefd72501b358c61fb1a7096a2a94e5ea351
tree8d7a373fa3cb668b6a5358e4bac2ae3420d3a927
parentac9453d82e9077a8b02afa4e26ef9ff1f47b4ee9
atrace: enable running on user builds

This change allows atrace to be run on a user build, where it is not run as
root.  Some command line options still require root, and atrace will refuse to
run if those options are specified when run as non-root.

Bug: 6513400
Change-Id: I29984cb8a7c3ad80ba5fa6b031ed8ff81acabacf
cmds/atrace/Android.mk
cmds/atrace/atrace.c