-
Notifications
You must be signed in to change notification settings - Fork 676
tp: Make metadata per machine-trace #4570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🎨 Perfetto UI Build✅ UI build is ready: https://storage.googleapis.com/perfetto-ci-artifacts/gh-21362028549-1-ui/ui/index.html |
| } | ||
| const auto& table = storage->trace_file_table(); | ||
| std::optional<uint32_t> current = child; | ||
| while (current) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use for loops.
| return true; | ||
| } | ||
| const auto& table = storage->trace_file_table(); | ||
| std::optional<uint32_t> current = child; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be traceFileTable::Id
| const auto& table = storage->trace_file_table(); | ||
| std::optional<uint32_t> current = child; | ||
| while (current) { | ||
| auto row = table.FindById(tables::TraceFileTable::Id(*current)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should CHECK on the result of this.
No description provided.