[CUI] Bug fix in page load data models and plugin.

Bug description
---------------
Navigation is not unique within a trace when there are multiple
browser processes; as a result, the existing chrome/page_loads.sql
code can conflate multiple page loads across different browser
processes if they have the same id. Navigation id + upid will be
unique.

Fix
---
Integrate browser process UPID when generating the page loads data
model, and in rendering the correct data in the details panel. Add
a unique identifier to chrome_interactions to be able to index into
each row, as scoped_id and pid will not be guaranteed to be unique.

Incorrect screenshot
--------------------
https://screenshot.googleplex.com/5h8S3ob5KS2Hz5n

Fixed screenshot
----------------
https://screenshot.googleplex.com/6gkCC4Lse3JSyg9

Example trace
-------------
https://ui.perfetto.dev/#!/?s=b1b69611ac79aede29724309308676a706da98f5cb4e761ec7170d6fd1c159f8

Bug: b/309944788
Change-Id: I357c8c69b2c5695590f1092f053295a8f416471f
3 files changed
tree: 731578dc47724075618dd411c31d2ee4e6dd6011
  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. .clang-format
  19. .clang-tidy
  20. .git-blame-ignore-revs
  21. .gitattributes
  22. .gitignore
  23. .gn
  24. .style.yapf
  25. Android.bp
  26. Android.bp.extras
  27. BUILD
  28. BUILD.extras
  29. BUILD.gn
  30. CHANGELOG
  31. codereview.settings
  32. DIR_METADATA
  33. heapprofd.rc
  34. LICENSE
  35. meson.build
  36. METADATA
  37. MODULE_LICENSE_APACHE2
  38. OWNERS
  39. perfetto.rc
  40. PerfettoIntegrationTests.xml
  41. PRESUBMIT.py
  42. README.chromium
  43. README.md
  44. TEST_MAPPING
  45. traced_perf.rc
  46. 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.