commit | e25d2c48872624d78a3fcda1942d8cf235faeb21 | [log] [tgz] |
---|---|---|
author | Luke Chang <lukechang@google.com> | Tue Dec 07 16:08:32 2021 +0800 |
committer | Luke Chang <lukechang@google.com> | Wed Dec 08 06:56:26 2021 +0800 |
tree | 0f75f6dbd105d377b867bf11f1249b63b71942aa | |
parent | 496f94a1281c8430d4657b6df90b72fcbcc0b3c6 [diff] |
metric: Add network performance metric Collect packet information from netif_receive_skb ftrace events to show nic received packets, bytes and data rate. Bug: 208945764 Test: <trace_processor_shell> --run-metrics android_netperf \ <perfetto_trace> Test: tools/diff_test_trace_processor.py <trace_processor_shell> \ --trace-filter='netperf_metric' Change-Id: I643520f693c71fe029e578f88f187635156e61be
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.