| commit | 6a67390c9f695e1ecd00a2d0f0783a6205c5db9c | [log] [tgz] |
|---|---|---|
| author | Mark Seaborn <mseaborn@fuchsia.infra.roller.google.com> | Tue Apr 02 03:09:39 2024 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 01 20:11:42 2024 -0700 |
| tree | 0434d22f61d0d0c35967a8e8f46cdcd298c2f2bf | |
| parent | d500d6f2b791f588eb790d428d154d606e7a7e69 [diff] |
[roll] Roll fuchsia [trace_processing] Refactor construction of Process and Thread objects Avoid duplication of code and make the construction of Thread objects more efficient. Before this change, the code did a linear search to look up Thread objects by TID. (That came from the original Dart version of the code.) Fix that by introducing process_threads_map. A recent change duplicated some code for creating the Thread objects. Deduplicate that by introducing get_process() and get_thread() functions. Original-Bug: b/331457527 Test: trace_importing_test.py Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1017447 Original-Revision: 4cf21a21a41bce9249a00b21c394d2b658ee3298 GitOrigin-RevId: 64da2049ee2bd8bf28279bd99a9dc54bc78e477a Change-Id: I07eb86b5f48b5b1e00fa7b8261851940304c60df
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.