[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
1 file changed
tree: 0434d22f61d0d0c35967a8e8f46cdcd298c2f2bf
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.