ui: Remove the ability to set TrackNode ids manually

TrackNode ids were originally designed to be used for two purposes:
1. Mapping between DOM elements and TrackNode objects.
2. Allowing plugins to insert track nodes into groups defined by other
   plugins.

Since we now allow inter-plugin dependencies, we have no use for 2 any
more, which leaves 1 as the only reason for these ids to exist. Since
1 does not require plugins to be able to manually set these ids to well
known values, we can remove this feature and simply let the workspace
assign unique ids from an incrementing counter, which reduces the
likelihood of duplicate ids significantly.

This CL removes the option to define an id when creating a TrackNode,
and removes all usage.

Change-Id: I09ec63acbaa5c287121e97369b927b21988eac41
5 files changed
tree: b7e99d61f07d7df61fbbac39a2ee6933ecca0e52
  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. perfetto_flags.aconfig
  46. PerfettoIntegrationTests.xml
  47. persistent_cfg.pbtxt
  48. PRESUBMIT.py
  49. README.chromium
  50. README.md
  51. TEST_MAPPING
  52. traced_perf.rc
  53. WATCHLISTS
  54. 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.