Skip to content
yotamr edited this page Jun 1, 2012 · 5 revisions

Traces supports compilation for Android/ARM targets. Traces has some benefits over the plain Android logs, as shown in the following table:

Android logs Traces
Performance string-formatting + a call to writev() per log. Unsuitable for very frequent logging No string formatting and no system calls per log. Parsing is done offline
Presentation non-colored and non-typed output Colored and typed output, enabling complex search expressions
Memory Uses global ringbuffer, shared by other applications. Typically under 1 MB ringbuffer exists per-application. Different severities have different buffers.
Function traces No explicit support for function traces Functions can be automatically traced
Clone this wiki locally