History log of /frameworks/native/cmds/atrace/atrace.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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>
/frameworks/native/cmds/atrace/atrace.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>
/frameworks/native/cmds/atrace/atrace.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
/frameworks/native/cmds/atrace/atrace.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
/frameworks/native/cmds/atrace/atrace.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
/frameworks/native/cmds/atrace/atrace.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
/frameworks/native/cmds/atrace/atrace.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
/frameworks/native/cmds/atrace/atrace.cpp
26dbcbe01367a8d4b0ca89c8590758aa72ee045c 09-Apr-2014 Mohamad Ayyash <mkayyash@google.com> atrace: Add f2fs sync and ext4 write tracepoints.

Change-Id: I76fa32f7d80aaeafc26494d9018b7a004e7dc3d2
/frameworks/native/cmds/atrace/atrace.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
/frameworks/native/cmds/atrace/atrace.cpp
d3fa5616160c53d5bec8cd91d65f3732413c1a56 03-Jul-2013 Ken Sumrall <ksumrall@android.com> Add support for mmc trace events

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

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

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

Change-Id: Iab8c1ef51f491e818fb4bab0ba7a042f0d9bec9a
/frameworks/native/cmds/atrace/atrace.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
/frameworks/native/cmds/atrace/atrace.cpp
6f6f3f710b4dec2952298ae65d5f1674535c63f0 27-Mar-2013 Jamie Gennis <jgennis@google.com> atrace: fix tracing on user builds

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

Change-Id: Ie25c704f33c419c0c542249ae2841393862df0ab
/frameworks/native/cmds/atrace/atrace.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
/frameworks/native/cmds/atrace/atrace.cpp
b2a89e3155969e5bc9653966069d6dbabdd3f623 12-Mar-2013 Jamie Gennis <jgennis@google.com> atrace: add the webview category

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

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

Change-Id: I19f0093d65d64e669ad71c600c103f4080bfa2c2
/frameworks/native/cmds/atrace/atrace.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
/frameworks/native/cmds/atrace/atrace.cpp