Lines Matching +full:system +full:- +full:trace
1 # ATrace: Android system and app trace events
3 On Android, native and managed apps can inject custom slices and counter trace
4 points into the trace. This is possible through the following:
6 * Java/Kotlin apps (SDK): `android.os.Trace`.
7 See https://developer.android.com/reference/android/os/Trace.
10 in `<trace.h>`. See https://developer.android.com/ndk/reference/group/tracing.
13 [`libcutils/trace.h`][libcutils].
19 There are two types of atrace events: System and App events.
21 **System events**: are emitted only by Android internals using libcutils.
28 without having to worry about which particular system process emits them.
30 **App events**: have the same semantics of system events. Unlike system events,
31 however, they don't have any tag-filtering capability (all app events share the
32 same tag `ATRACE_TAG_APP`) but can be enabled on a per-app basis.
35 enable both system and app events.
39 ATrace instrumentation a non-negligible cost of 1-10us per event.
41 a managed execution environment, and a user-space <-> kernel-space roundtrip to
46 introduced [Tracing SDK](/docs/instrumentation/tracing-sdk.md). At the moment
49 …droid.com/android/platform/superproject/+/master:system/core/libcutils/include/cutils/trace.h?q=f:…
56 
73 ---|-------------|-----|------------|----
90 ---|--------------|-----|--------------|------
110 # Enables specific system events tags.