tree: 94532ad96fb1f452732a77afab922f18db033767
  1. BUILD.gn
  2. httpd.cc
  3. httpd.h
  4. query_result_deserializer.cc
  5. query_result_deserializer.h
  6. query_result_serializer.cc
  7. query_result_serializer_benchmark.cc
  8. query_result_serializer_unittest.cc
  9. README.md
  10. remote_trace_processor.cc
  11. remote_trace_processor.h
  12. rpc.cc
  13. rpc.h
  14. rpc_transport.cc
  15. rpc_transport.h
  16. session_lifecycle.cc
  17. session_lifecycle.h
  18. session_paths.cc
  19. session_paths.h
  20. session_paths_unittest.cc
  21. stdiod.cc
  22. stdiod.h
  23. unixd.cc
  24. unixd.h
  25. 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.