• Home
  • History
  • Annotate
  • only in /frameworks/native/cmds/atrace/
History log of /frameworks/native/cmds/atrace/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
db40415e05e39c1f4faa62735f435b031e53af7c 03-May-2016 sergeyv <sergeyv@google.com> atrace: introduce category for core services

bug: 28200530
Change-Id: Ifc785ba2ed25d6968f4558c2958a705603c39ba5
trace.cpp
4144eff1e261f6462be3753fc9543d82f9a4fd96 28-Apr-2016 sergeyv <sergeyv@google.com> Atrace: store app list in multiple sysprops

bug: 28200530
Change-Id: Ifee0f3a63cf1caf4dbd867155614f94614417af5
trace.cpp
40b26b4fc597f105823bc1e2a640e4df8baea243 30-Mar-2016 John Reck <jreck@google.com> Add an option to write the trace to a file

Change-Id: I865a3f2c9f6a1fefa664b8215d1e5c94d7d0d0d3
Fixes: 27821761
trace.cpp
6c8ac921ead0771b36281763d3724d67c9146c62 28-Mar-2016 John Reck <jreck@google.com> Dumping a trace isn't an error

Change-Id: I6180c4f72b45b3d64c44a197e7bda3809a69c8fc
trace.cpp
0bb03528ffaacd5c612ede6a5d3a1cdbe2dd8180 15-Mar-2016 Philip Cuadra <philipcuadra@google.com> atrace: Adding dumping message to logcat.

Change-Id: Ida9e7ce8a05f8c5e44245ad0c383453d2ea7d79f
trace.cpp
775415bf55aa602822c98ec46446c65cc54d4a35 06-Feb-2016 John Reck <jreck@google.com> Merge "Enable wildcard in the list of kernel functions" am: fda23631b9 am: ec3ae45d30
am: 2b71580ff6

* commit '2b71580ff6b444f53b9c24f86ad436696720b896':
Enable wildcard in the list of kernel functions
a2c228770ea1cadc1d06406baad899b8c500389a 27-Jan-2016 Thomas Buhot <thomas.buhot@intel.com> Enable wildcard in the list of kernel functions

The handling of the -k option is too restrictive
as it stricly checks the names of the kernel functions
after it wrote them in /d/tracing/set_ftrace_filter.

However, a common usage of that function filtering with ftrace
is to use a wildcard character (*) that the ftrace tracer
automatically expands to all the matching kernel functions.

This enables the support of the wildcard (*) character
in the -k option to trace kernel functions.

Change-Id: Ifffae975c20e1c253157a3a6b44a14b4f342b9d0
Signed-off-by: Thomas Buhot <thomas.buhot@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
trace.cpp
e28d4180ebefdac9c4c5cae0e94ad29bdc5a51de 17-Dec-2015 Nick Kralevich <nnk@google.com> Merge "atrace.rc: tracing should be disabled by default." am: cbd4cc737c
am: 982e451512

* commit '982e4515128f69638249427715ad9bb321361aa8':
atrace.rc: tracing should be disabled by default.
cc7f8ad7d5837e764fdc6242839213c20e7f84fc 16-Dec-2015 Nick Kralevich <nnk@google.com> atrace.rc: tracing should be disabled by default.

Bug: 26217098
Change-Id: I6066c433d19c2d1c220669a9a78f5085af8c1d4b
trace.rc
c545a3ae0b89766194ab4d7380dfc5cccaa4d5be 14-Dec-2015 Greg Hackmann <ghackmann@google.com> Merge "atrace: add database tag" am: 8b9c0e1af1
am: 361515a9b5

* commit '361515a9b5c64f625305d0824048bb65a71c9595':
atrace: add database tag
8b9c0e1af14bf07b216edd1b995048790ddabaca 14-Dec-2015 Greg Hackmann <ghackmann@google.com> Merge "atrace: add database tag"
cfe500d01f0bf47f23d175b7998c43261951ec68 23-Nov-2015 Ruchi Kandoi <kandoiruchi@google.com> sched: Adds the optional tracing for CPU hotplug.

Change-Id: Ibff70a2176f8b8e2ba18a9246c350b990d545962
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
trace.cpp
trace.rc
bb5a53e19d98f4a9f9b617b47be64025859dc80b 30-Nov-2015 Ruchi Kandoi <kandoiruchi@google.com> Merge "atrace: Add trace points for cpu frequency limits."
e29bf4fcf1206e992a11bfe1f2b9a3bba511cc1c 30-Nov-2015 Martijn Coenen <maco@google.com> Merge "Atrace: support streaming data to stdout." am: 83a98b101c am: 78d4fb8e77
am: b134014110

* commit 'b1340141101a2528cb6680862aa9d88df491bc3d':
Atrace: support streaming data to stdout.
d95358713b98875733e91fe8fb0459a0b88eab14 26-Nov-2015 Martijn Coenen <maco@google.com> Atrace: support streaming data to stdout.

Change-Id: I8534a9c69f25ecdd82230a5d8b4b8d1c4d58439e
trace.cpp
ffcc71175aa6c6ed9e3a3deb446f8ba561d63df5 20-Nov-2015 Ruchi Kandoi <kandoiruchi@google.com> atrace: Add trace points for cpu frequency limits.

Change-Id: I6a20eaedb2943c3cde137ec091d898fc250ea763
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
trace.cpp
trace.rc
bbd7d991db7cdb0f09a765d23e32c7441eb0393f 01-Dec-2014 Greg Hackmann <ghackmann@google.com> atrace: add database tag

Change-Id: I96acc1afa8d2eeac5585ee482d3f35716da49950
Signed-off-by: Greg Hackmann <ghackmann@google.com>
trace.cpp
0db38b1133ad18201c0e5c436dd33bdff787ccaf 19-Nov-2015 Riley Andrews <riandrews@google.com> Merge "Add support for new sched kernel tracepoint" am: 61c9506a09 am: 31a851cd75
am: 3619cb2909

* commit '3619cb2909cbd21cfd080fb1142fd77207cee1d8':
Add support for new sched kernel tracepoint
5672bb755e306d9c315c47190df4a79f7f52889c 19-Nov-2015 Riley Andrews <riandrews@google.com> Add support for new sched kernel tracepoint

This tracepoint gives systrace the means to display the reason
for uninterruptible sleep.
trace.cpp
trace.rc
6e20913454d65c233a7b4d51cf12c5c848f7a84d 04-Nov-2015 Riley Andrews <riandrews@google.com> Merge "Add ipi tracing to irq tracing." am: c84da67d72 am: b813f5e2e8
am: 6ea4e35ab1

* commit '6ea4e35ab1c4fc93b9dc176423e6e425c85bf360':
Add ipi tracing to irq tracing.
c84da67d723ce4bafc3622cd269207ea3995ff1c 04-Nov-2015 Riley Andrews <riandrews@google.com> Merge "Add ipi tracing to irq tracing."
412e4f6da5cc9353b4bd05200fe81e3497316370 03-Nov-2015 Riley Andrews <riandrews@google.com> Add ipi tracing to irq tracing.
trace.cpp
7048161951761cd5fe0109c34204ba8229f9eddf 23-Oct-2015 Martijn Coenen <maco@google.com> Support tracing pagecache stats.

Change-Id: Iac12fd8d0238db30d1415418d2b4f168fd4195c2
trace.cpp
c3268ada4d95de3ab61dc8c44b4ddea2969353d6 07-Sep-2015 Martijn Coenen <maco@google.com> am c2874048: am 5ca0c2ed: am 624408ee: Merge "Map realtime to clock_monotonic." into mnc-dr-dev

* commit 'c2874048d0bbc6739b083bd84c7476a7fa6550e3':
Map realtime to clock_monotonic.
f4cb3cea6671c114930bbff12a91e65144697d9a 03-Sep-2015 Tom Cherry <tomcherry@google.com> move init.trace.rc to frameworks/native

init.trace.rc will be renamed to atrace.rc and use the LOCAL_INIT_RC
mechanism to be included on /system appropriately.

Bug 23186545

Change-Id: Ic5833b4bb6e6364e4fef6ab4882ae75f8f3856e9
ndroid.mk
trace.rc
40a8bb3b2290f77a90735633eab350133f9bb9d2 02-Sep-2015 Yasuhiro Matsuda <mazda@google.com> Merge "Add a tag for tracing system server."
0bcd97a7485d971c5276e19b1a6c2672539dc38d 15-Jul-2015 Martijn Coenen <maco@google.com> Map realtime to clock_monotonic.

This maps a monotonic timestamp to the
corresponding real-time timestamp, which
can be used to match up the traces with
other logs that use real-time.

Also write clock_sync records first instead of at
the end, to avoid not being to write it due to the
buffer being full.

Bug: 23668823
Change-Id: I644aeea496197e194ec30f808f754e3e043d905f
trace.cpp
4997a57a9ae90bbb058dec90222d423a7de0e7e7 13-Aug-2015 Riley Andrews <riandrews@google.com> Merge "Tracing for binder locks/transactions"
7cc4977ccd98a4ee557c8382bbc705eef702bdb6 30-Jun-2015 Yasuhiro Matsuda <mazda@google.com> Add a tag for tracing system server.

This change is needed for
https://android-review.googlesource.com/#/c/157562/

BUG: 21739901
Change-Id: Ic4616065749236fbde9263b8f1898c434913564a
trace.cpp
01e111b5a02440c0684494e9286709285e20097f 31-Jul-2015 Todd Kennedy <toddke@google.com> Add a trace constant for PackageManager

Change-Id: Icd9afc86c88296919e4750d71cb0aef314194bee
trace.cpp
366c38f82393c8a3e9419c0dbe6320504a4d741b 30-Jul-2015 Yasuhiro Matsuda <mazda@google.com> Merge "Enable atrace to read categories from file."
4ba2b63bff492815a86954c272a36d886f5bccec 15-May-2015 John Reck <jreck@google.com> Fix async_stop

Change-Id: I68a258cf71cfcd999bbd568ab3c96255c11bec41
(cherry picked from commit 2c237ee1d5961b9d11618e0c5a97b3bb7fb694b2)
trace.cpp
46c51fb1adf8bc011b7d5b1c98a89303acb8c57b 29-Jun-2015 Yasuhiro Matsuda <mazda@google.com> Enable atrace to read categories from file.

Add -f option to atrace, which enables atrace to use the
categories written in the specified file.

BUG: 21739901
Change-Id: I2cf1f277280434b28c426c68e2864b62aebd20cc
trace.cpp
ae473363270724550699a7fd9c110a839f79964c 09-Jun-2015 Scott Bauer <bauers@google.com> Tracing for binder locks/transactions

Added logic to pull traces from the binder driver.

Change-Id: I9aa00b4650fc3f90d7bd55328dfef11e2514f7b4
trace.cpp
2c237ee1d5961b9d11618e0c5a97b3bb7fb694b2 15-May-2015 John Reck <jreck@google.com> Fix async_stop

Change-Id: I68a258cf71cfcd999bbd568ab3c96255c11bec41
trace.cpp
cbe13ef59b25b6df226c09b9351f0f615bc68dda 25-Feb-2015 Aaron Schulman <aschulman@google.com> Added Voltage and Current regulator ftrace events to atrace

Cherry-pick of c2c6ecd1195481f5813a721a7d20a73c0795c135 from AOSP

Tracing the state of the voltage and current regulators enables a developer
to attribute power consumption measurements to specific perhipherals and
cores. Unlike other indirect methods of tracing when peripherals and cores
are toggled, the regulator ftrace event indicates the exact point in time
when the kernel switches on or off the device. For example, in the following
trace, a developer can see exactly when the krait2 core starts receiving
power, and and when the voltage is set for voltage scaling.

mpdecision-2172 [000] ...1 1566.665481: regulator_enable: name=krait2
mpdecision-2172 [000] ...1 1566.665493: regulator_enable_delay: name=krait2
mpdecision-2172 [000] ...1 1566.665495: regulator_enable_complete: name=krait2
<...>-4133 [002] ...1 1566.666891: regulator_set_voltage: name=krait2 (1075000-1100000)

Change-Id: Ia322206ef74496daf1d9baa03545d8e89e398487
Signed-off-by: Aaron Schulman <aschulman@google.com>
trace.cpp
05815996c965b99c4cc4ea96f6b6c4a9123cdf1c 07-May-2015 Chris Craik <ccraik@android.com> Merge "Added Voltage and Current regulator ftrace events to atrace"
469a194051f1657b3f77ff2f5d84a60f7521faba 26-Mar-2015 John Reck <jreck@google.com> Add trace_event_clock_sync to atrace

Change-Id: I8adce15210d82df09ff3a39ddd8df617aeb16a42
trace.cpp
c2c6ecd1195481f5813a721a7d20a73c0795c135 25-Feb-2015 Aaron Schulman <aschulman@google.com> Added Voltage and Current regulator ftrace events to atrace

Tracing the state of the voltage and current regulators enables a developer
to attribute power consumption measurements to specific perhipherals and
cores. Unlike other indirect methods of tracing when peripherals and cores
are toggled, the regulator ftrace event indicates the exact point in time
when the kernel switches on or off the device. For example, in the following
trace, a developer can see exactly when the krait2 core starts receiving
power, and and when the voltage is set for voltage scaling.

mpdecision-2172 [000] ...1 1566.665481: regulator_enable: name=krait2
mpdecision-2172 [000] ...1 1566.665493: regulator_enable_delay: name=krait2
mpdecision-2172 [000] ...1 1566.665495: regulator_enable_complete: name=krait2
<...>-4133 [002] ...1 1566.666891: regulator_set_voltage: name=krait2 (1075000-1100000)

Change-Id: I964d50be89bbfc554d2ab3e32a18514d1b1e70f4
Signed-off-by: Aaron Schulman <aschulman@google.com>
trace.cpp
2e5a1cf27ec7ba3ff64cae479ceb5670439470da 25-Jan-2015 Elliott Hughes <enh@google.com> am 346329b7: Merge "Move atrace from the obsolete bzero to memset."

* commit '346329b7a70b594895be0aec5dc00f9f4108b533':
Move atrace from the obsolete bzero to memset.
3da5d235dab9469ccec567c4ebbb5206f4558a18 25-Jan-2015 Elliott Hughes <enh@google.com> Move atrace from the obsolete bzero to memset.

(This file wasn't including <strings.h> for bzero or <string.h> for memset.)

Change-Id: Icef0e0dbfd36ebd21058cfd8c747e0a17aee8308
trace.cpp
e80d32c3c2ec4f2acc917c92c9c943e81de80496 20-Nov-2014 Greg Hackmann <ghackmann@google.com> atrace: make fs-specific sysfs entries optional

The availability of these sysfs entries will vary based on the kernel's
supported filesystems, so don't block the disk category if some of them
are missing.

Bug: 18467498

Change-Id: I96200f1b5cf3f1a8fa8186602552adc96ddffc04
Signed-off-by: Greg Hackmann <ghackmann@google.com>
trace.cpp
70ec2941530766bdca09ef2983a3ff794c028ee6 30-Sep-2014 Patrick Auchter <auchter@motorola.com> 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>
trace.cpp
b1ce49b2ed9ea953a7f534b4f36b6acb56fc0749 20-Aug-2014 Colin Cross <ccross@android.com> atrace: avoid unnecessary writes to trace_clock

Writing to trace_clock erases the trace buffer, even if the value
hasn't changed. This prevents use of --async_start and --async_dump
to leave background tracing running and dump after an even that
needs debugging, because --async_dump writes to trace_clock and
resets the buffer before it can read it.

Read and parse the current value from trace_clock before writing,
and skip the write if the value isn't changing.

Change-Id: Ia2ec5bb654fb0bd179771b511ff261731ba47dca
trace.cpp
580407f1075fe97d7466724f71cc03816b7404fe 19-Aug-2014 Colin Cross <ccross@android.com> atrace: add memory reclaim tracing

Add "memreclaim" to trace direct reclaim, shrink slab cycles, and
kswapd waking up and sleeping.

Change-Id: I4cfb313820a3a9aa5a9d07a39c42db41c24304a6
trace.cpp
f440d398faad3bafe2e7f365c62163aca45e36a3 12-Apr-2014 Dan Willemsen <dwillemsen@nvidia.com> atrace: Add IRQ events

Add "irq" to trace irq and softirq events.

Change-Id: I45356c2912a1fa130667ada7b21e9fb54ddcfba5
trace.cpp
3200b0bf507936ecf43784191880e4e91c54568c 15-Aug-2014 Jeff Brown <jeffbrown@google.com> Add trace tag for power management.

Also added a couple of other existing missing tags in atrace.

Bug: 17004602
Change-Id: I6f697a2a15922bd4695acfa203d45eaae40cd00e
trace.cpp
3e54077d429e983ec9c4c7eaef561587eef4d49c 29-May-2014 Elliott Hughes <enh@google.com> am e77cb931: am 259c2508: am 03e2f8fa: Merge "Modified atrace.cpp to recognize ATRACE_TAG_BIONIC."

* commit 'e77cb9317de54ea0041eeef7966b818257158f64':
Modified atrace.cpp to recognize ATRACE_TAG_BIONIC.
750aa9743c0c4c592213fbb39b8d328bd0075fd6 28-May-2014 Brigid Smith <brigidsmith@google.com> Modified atrace.cpp to recognize ATRACE_TAG_BIONIC.

Bug: 15116468
Change-Id: I621532fb53b8317f5a513edfbeb0c50c265342fc
trace.cpp
26dbcbe01367a8d4b0ca89c8590758aa72ee045c 09-Apr-2014 Mohamad Ayyash <mkayyash@google.com> atrace: Add f2fs sync and ext4 write tracepoints.

Change-Id: I76fa32f7d80aaeafc26494d9018b7a004e7dc3d2
trace.cpp
92dc3fc52cf097bd105460cf377779bdcf146d62 12-Mar-2014 Mark Salyzyn <salyzyn@google.com> native frameworks: 64-bit compile issues

- Fix format (print/scanf)
- Suppress unused argument warning messages (bonus)

Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728
trace.cpp
d3fa5616160c53d5bec8cd91d65f3732413c1a56 03-Jul-2013 Ken Sumrall <ksumrall@android.com> Add support for mmc trace events

Change-Id: I1d9f2a85e50f8e30d418fb97c01ce7b0fbb680bd
trace.cpp
f0f2841d95a26247dfa0b31a6bfa8b010fe89aa2 23-May-2013 Tim Murray <timmurray@google.com> Add RenderScript category for atrace.

Change-Id: I069a301329f4a579c7b2716fa52c3f4a0ae0062b
trace.cpp
eff2e8d2374692213204468433e3d96e7472ea02 08-May-2013 Jamie Gennis <jgennis@google.com> atrace: add the 'dalvik' trace category

Bug: 8856374
Change-Id: Ie7759328333d21d8123ce9d4f1a177cae5ede51e
trace.cpp
9380d78c98d8b8fbce9ade5881fab7134fadc015 12-Apr-2013 Dianne Hackborn <hackbod@google.com> Add new resources trace.

Change-Id: Iab8c1ef51f491e818fb4bab0ba7a042f0d9bec9a
trace.cpp
f7f29c8f9d56dc908e501ae789e418a9974b6bce 27-Mar-2013 Jamie Gennis <jgennis@google.com> atrace: add support for app tracing

This change adds support for the -a command line argument to atrace. This
argument sets the comma separated list of application names (i.e.
/proc/self/cmdline values) for which to enable application-level tracing.

Change-Id: I812d57c4cdc581943247229413f09b7e1adc10d0
trace.cpp
6f6f3f710b4dec2952298ae65d5f1674535c63f0 27-Mar-2013 Jamie Gennis <jgennis@google.com> atrace: fix tracing on user builds

Change-Id: Idef15d514f0bd1e117362c6a06a2ea24314feb7f
trace.cpp
43122e7e672eb170334a4467dd41cf4bd545bae5 21-Mar-2013 Jamie Gennis <jgennis@google.com> atrace: use creat instead of truncate

Change-Id: Ie25c704f33c419c0c542249ae2841393862df0ab
trace.cpp
79fb99d0dea4d301d1bf25273c6af4907ca124bc 18-Mar-2013 Jamie Gennis <jgennis@google.com> Merge "atrace: add support for tracing kernel functions" into jb-mr2-dev
e9b8cfb63297b14253c5b464190fc5752457a38e 13-Mar-2013 Jamie Gennis <jgennis@google.com> atrace: add support for tracing kernel functions

This change adds support for tracing specific kernel function calls using the
function_graph tracer. It adds a '-k' option to atrace that accepts a comma
separated list of kernel function names for which tracing will be enabled.

Change-Id: I872b2f1d474b8ebb904053853fc8cf8c0a98089c
trace.cpp
b2a89e3155969e5bc9653966069d6dbabdd3f623 12-Mar-2013 Jamie Gennis <jgennis@google.com> atrace: add the webview category

Change-Id: Iefb552cd275bb5784903e8bf328890ecd233e45b
trace.cpp
36ebf51a1b4e8a12092ea7b1dd7857bc7a173891 14-Feb-2013 Alex Ray <aray@google.com> atrace: add HAL tag

Change-Id: Idfd4f2075e8cd82833ef06d4487423c62b59fe11
trace.cpp
92573f1ba0d5360d7bfa8ab8935118db7a251f62 08-Dec-2012 Jamie Gennis <jgennis@google.com> atrace: fix the help string

Change-Id: I19f0093d65d64e669ad71c600c103f4080bfa2c2
trace.cpp
6eea6fb259a6d0b1c585d3267b8df7ca29a1206d 07-Dec-2012 Jamie Gennis <jgennis@google.com> atrace: clean up tracing option enabling

This change switches atrace to use a table-driven approach to enabling and
disabling options. It unifies how framework and kernel tracing are enabled,
and causes userland tracing options to be picked up by currently running
processes.

Change-Id: Iba2a3012ca0a67c4defdd076bce597db26e9f539
ndroid.mk
trace.c
trace.cpp
9284fddfc6329d5ea5ae183d4cb0646ffb470561 15-Nov-2012 Glenn Kasten <gkasten@google.com> Fix build

Change-Id: Ibb398f36a7569af3480e24145da4317bf5b86998
trace.c
4edbd078cddcc1cbe59156a0e7ece01de75156e0 15-Nov-2012 Erik Gilling <konkers@android.com> add asynchronous tracing

Change-Id: I5b8660cd4d2af2ad7c6b2548c9572d3527882d6d
trace.c
9ba4baf178bb9dad3912403bfd9aee07c14da33a 17-Oct-2012 Erik Gilling <konkers@android.com> atrace: add sync trace support

Change-Id: I2cd2f1a1e51f6e3d1ebbde4d5442be68a218b33d
trace.c
31be80f02cddda55e75614884038fa4645b694cd 06-Jun-2012 Glenn Kasten <gkasten@google.com> Add -n and -S options for 'nohup', offline traces

Change-Id: Ieef12b36b8519ff689ab5a81447b1b9bf4806171
trace.c
e8744fd4dce2881c83d69c084b6937d0397ace05 06-Oct-2012 Jamie Gennis <jgennis@google.com> 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
trace.c
99be77cf00d69a07ad5698b31c56a39f4add0bdf 21-Sep-2012 Erik Gilling <konkers@android.com> atrace: add clock rate and bus utilization

Change-Id: I4e1764b51225436fc2b3d61454ee822f511a1a7d
trace.c
4b23eefd72501b358c61fb1a7096a2a94e5ea351 08-Jun-2012 Jamie Gennis <jgennis@google.com> 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
ndroid.mk
trace.c
ac9453d82e9077a8b02afa4e26ef9ff1f47b4ee9 23-May-2012 Jeff Brown <jeffbrown@google.com> Add disk I/O tracing.

Bug: 6488845
Change-Id: I93acb726f35b114fb1ea7297da4456826f805b7b
ndroid.mk
trace.c
3169533f1d11c4a7aa0cd6fa2aa04fc810db0de6 08-May-2012 Jamie Gennis <jgennis@google.com> atrace: add support for tracing CPU idle events

This change adds the -i command line flag to atrace to enable tracing CPU idle
kernel events.

Change-Id: I4a2c8619224c0f50c7fd7c61c7b24fa2211f656c
trace.c
7b5170b249c1d312cfe3b5658b6c140b2a48226f 29-Apr-2012 Jamie Gennis <jgennis@google.com> atrace: add support for zlib compression

This change adds the -z command line flag to atrace to enable support for
compressing the trace with zlib as it's printed to stdout.

Change-Id: I45301c63a4d1d388152244fec3c9e05e554598e8
ndroid.mk
trace.c
fe312b98f747d7818ce865fb5b12b805f2ce9a9b 10-Apr-2012 Jamie Gennis <jgennis@google.com> atrace: make cpu freq governor tracing optional

This change allows atrace to run on kernels that do not have CPU frequency
interactive governor tracing enabled in the kernel.

Change-Id: Ibfde751da7b6cc9a55794355093a37feb28f5e52
trace.c
cc24c8e6b48c2eb204bf3d7f974dbff6dc0cc862 06-Mar-2012 Jamie Gennis <jgennis@google.com> atrace: add some more command line options

This change adds two command line optiosn:
-b for setting the trace buffer size
-f for enabling tracing of the CPU frequency
-l for enabling tracing of the CPU load

Change-Id: Id99851a4c4eba5cfed218f29081e072bbe492133
trace.c
dd1ddbbdd7dc965d906129a4cda04dc86ecb2553 27-Feb-2012 Jamie Gennis <jgennis@google.com> atrace: include the binary in debug builds

This change makes the atrace module tag 'debug' so that the binary is
included in all debug builds.

Change-Id: I1fdb87be0461daf686e52ded04b37b9a122edea3
ndroid.mk
fb31ba69282e34df62005ec63afda2b8ec69533e 23-Feb-2012 Jamie Gennis <jgennis@google.com> Add the atrace utility.

This change adds a new system binary to help with capturing and dumping
kernel traces.

Change-Id: If2fc074480f822588a4c171312dc4c04fd305356
ndroid.mk
ODULE_LICENSE_APACHE2
OTICE
trace.c