Add auto-pin debug track support for per-frame blocking call metrics.

Extending the existing blocking call handler, modified the regex and
added unit tests for the newly added per-frame blocking call metrics.
More information on the metrics captured here:
go/sysui-jank-frame-metrics

URL Example -
ui.perfetto.dev/#dev.perfetto.PinAndroidPerfMetrics:metrics=perfetto_android_blocking_call_per_frame-cuj-name-com.android.systemui-name-NOTIFICATION_SHADE_EXPAND_COLLAPSE::Collapse-blocking_calls-name-input-mean_dur_per_frame_ns-max

Test: pinBlockingCall_unittest.ts run by using ./UI/run-unittests
Bug: 390110267
Change-Id: I1dc28a6f64e1176c2441da12fe95c1c0655442d5
3 files changed
tree: af7b681fde5611c121097020c7df96925c3dcb8a
  1. .github/
  2. bazel/
  3. build_overrides/
  4. buildtools/
  5. debian/
  6. docs/
  7. examples/
  8. gn/
  9. include/
  10. infra/
  11. protos/
  12. python/
  13. src/
  14. test/
  15. third_party/
  16. tools/
  17. ui/
  18. .bazelignore
  19. .bazelrc
  20. .bazelversion
  21. .clang-format
  22. .clang-tidy
  23. .git-blame-ignore-revs
  24. .gitattributes
  25. .gitignore
  26. .gn
  27. .style.yapf
  28. Android.bp
  29. Android.bp.extras
  30. BUILD
  31. BUILD.extras
  32. BUILD.gn
  33. CHANGELOG
  34. codereview.settings
  35. DIR_METADATA
  36. heapprofd.rc
  37. LICENSE
  38. meson.build
  39. METADATA
  40. MODULE.bazel
  41. MODULE.bazel.lock
  42. MODULE_LICENSE_APACHE2
  43. OWNERS
  44. perfetto.rc
  45. PerfettoIntegrationTests.xml
  46. persistent_cfg.pbtxt
  47. PRESUBMIT.py
  48. README.chromium
  49. README.md
  50. TEST_MAPPING
  51. traced_perf.rc
  52. WATCHLISTS
  53. 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.