commit | 77b64953e33faaad9d445ebae5422f7267ad591e | [log] [tgz] |
---|---|---|
author | Hector Dearman <hjd@google.com> | Wed Nov 13 16:07:33 2019 +0000 |
committer | Hector Dearman <hjd@google.com> | Wed Nov 13 16:07:33 2019 +0000 |
tree | 06a0b3991a2d9f5e1026ba3980f541f200f5d4d4 | |
parent | 33ddd5f9c3ceb5521a85cece9db336e7e88c31ab [diff] |
traced_probes: Ignore ip field on print events ip field takes up a large amount of space in the trace (both absolutely and relatively) compared to its usefulness. On a sample trace which included a number of ftrace events, compact sched, process tracking, rss stats and various atrace categories: - ip field was 15% of the whole trace - ip field was 40% of PrintFtraceEvent by size - ip field was 10 bytes (always) compared to median buf field size of 12 bytes Stop collecting the ip field to avoid this overhead. Change-Id: Iefe7c8ced740172f8fb165c19aa8c8e2e1824c44
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.