commit | 689880b32a4314b5d985595390b95422cf97e761 | [log] [tgz] |
---|---|---|
author | Luke Chang <lukechang@google.com> | Tue Dec 14 14:59:45 2021 +0800 |
committer | Luke Chang <lukechang@google.com> | Tue Dec 14 15:20:18 2021 +0800 |
tree | a63ad96e2001bcba0d7b1309dbcb49103af25128 | |
parent | 44638d7a4268725ad5c5153f537caae7448c6fad [diff] |
metric: Add net_rx action statistic to network performance metric The net_rx_action is the bottom-half function used to process NIC incoming frames. The patch calclates net_rx action statistic in the trace to get count, runtime and distrubiton on each core and further to get interstack latency (Time for a packet move through the kernel protocol stack). Bug: 210567531 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: I317e7bd4f6c5500f41976a42d0278e9953f97f30
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.