[roll] Roll fuchsia [kernel] Assign koids to kernel threads and clean up downstream.

Assign koids to kernel threads, in addition to user threads, and
clean up downstream dependencies in tracing.

- Allocate a koid to a thread on construction. This is overridden
  if a user thread is later associated with the kernel thread.
- Rename Thread::user_tid and user_pid to tid and pid for better
  consistency.
- Rename utility functions from *user_tid* to *tid*.
- Update scheduler context switch record now that addresses are no
  longer necessary to identify kernel threads. Use the extra space
  to expose relative deadlines of deadline threads.
- Update ktrace importer to use the new context switch record,
  removing the distinction between kernel and user threads.

Test: Existing tests pass. Observe trace durations of kernel threads
now render correctly in Chromium Trace Viewer.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/480850
Original-Revision: 264ab7a48cabb1749578c17f9d3232faf7d41c5b
GitOrigin-RevId: c5c30be7cb0e3dfd260c22da73c8cebfa7a96018
Change-Id: If480acafb04574f52b4ef01997172e063158a226
1 file changed
tree: e167208611114a1b867aacc4401ce2198b31a5b8
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. flower
  8. jiri.lock
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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.