ui: fix incorrect handling of group name for pinned tracks

When we changed pinning to be a clone instead of the same node twice,
this logic broke. Switch to looking up the URI of the track in the main
workspace instead of the node in the pinned tree so we get accurate
parent names.

Fixes: https://github.com/google/perfetto/issues/989
Change-Id: I06db314faa232faffe414a63be15942d2f9f38be
1 file changed
tree: e0408c3664487f3385595e1e7a08033ca8c20f6b
  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.