tp: Bind httpd to IPv6 address.

The Trace Processor HTTP API was set to '127.0.0.1:9001'; this patchset binds the HTTP RPC server to both 127.0.0.1 and ::1 and listen on both. This patchset also allows a port number to be specified for the RPC server to run on, which is used by the TP Python API to connect to any free ports on the IPv4 loopback address.

Bug: 164038530
Bug: 163312727
Bug: 163312367
Change-Id: I3249090e49d7fd16759758bed021a1821285924d
8 files changed
tree: 73802e4ea4b5394af2e62389e1a982416e7686bd
  1. bazel/
  2. build_overrides/
  3. buildtools/
  4. debian/
  5. docs/
  6. examples/
  7. gn/
  8. include/
  9. infra/
  10. protos/
  11. src/
  12. test/
  13. tools/
  14. ui/
  15. .clang-format
  16. .clang-tidy
  17. .gitignore
  18. .gn
  19. .style.yapf
  20. Android.bp
  21. Android.bp.extras
  22. BUILD
  23. BUILD.extras
  24. BUILD.gn
  25. CHANGELOG
  26. codereview.settings
  27. heapprofd.rc
  28. LICENSE
  29. METADATA
  30. MODULE_LICENSE_APACHE2
  31. OWNERS
  32. perfetto.rc
  33. PRESUBMIT.py
  34. README.chromium
  35. README.md
  36. TEST_MAPPING
  37. traced_perf.rc
  38. WORKSPACE
README.md

Perfetto - System profiling, app tracing and trace analysis

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.