tree: 8ea332abdb3ad6ecca8b8a2b58744ea1ce0426d1 [path history] [tgz]
  1. BUILD.gn
  2. httpd.cc
  3. httpd.h
  4. proto_ring_buffer.cc
  5. proto_ring_buffer.h
  6. proto_ring_buffer_unittest.cc
  7. query_result_serializer.cc
  8. query_result_serializer.h
  9. query_result_serializer_benchmark.cc
  10. query_result_serializer_unittest.cc
  11. README.md
  12. rpc.cc
  13. rpc.h
  14. wasm_bridge.cc
src/trace_processor/rpc/README.md

TraceProcessor RPC

This directory contains the RPC interfaces to use the Perfetto Trace Processor remotely (i.e. not just in-process). It consists of two targets:

wasm_bridge

The WASM (Web Assembly) interop bridge. It‘s used to call the Trace Processor from HTML/JS using WASM’s ccall.

httpd

The HTTP RPC module. It exposes a protobuf-over-HTTP RPC interface that allows interacting with a remote trace processor instance. It's used for special UI use cases (very large traces > 2GB) and for python interoperability.