commit | 5228f363b141bd99a1aceae18110844ddef3a54a | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Wed Jan 15 13:45:56 2020 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Wed Jan 15 13:45:56 2020 +0000 |
tree | ef767beef1000694c94522d2fe32810b08d1b9a0 | |
parent | 947555efc3ea93d89746a1c5e4efc9f46c253df4 [diff] |
trace_processor: remove tableid and refactor argstracker to use ids The last place TableId was being used was in args tracker. Now that we have proper, strongly typed ids we can use this to disambiguate tables so do not need to use TableId anymore. This CL changes ArgsTracker to stop using TableId and instead create BoundInserters based on the type of the passed in Id. We can thus also remove the IndexOf calls throughout the codebase and use BoundInserter for everything with minimal boilerplate allowing us to omit flat_key in a lot of places. Context: go/perfetto-tp-refactor Bug: 135177627 Change-Id: I8fec9e3186fdb87b28ed33d06902a363c8873e60
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.
See /docs/contributing.md for instructions.
The source-of-truth repo is Android's Gerrit. The GitHub repo is a read-only mirror.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.