Skip to content

include tid in "Tile init complete" log#83

Merged
bartoszmodelski merged 1 commit into
mainfrom
tile-init-tid
May 21, 2026
Merged

include tid in "Tile init complete" log#83
bartoszmodelski merged 1 commit into
mainfrom
tile-init-tid

Conversation

@bartoszmodelski
Copy link
Copy Markdown
Contributor

Summary

  • Log the kernel thread id alongside the existing "Tile init complete" message so the line correlates with taskset, top -H, and perf output.
  • New flux_utils::get_tid() wraps libc::gettid() on Linux and returns 0 elsewhere (matches the cfg pattern already used for set_thread_prio).

Test plan

  • cargo check -p flux

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bartoszmodelski bartoszmodelski requested a review from a team May 21, 2026 16:15
@bartoszmodelski bartoszmodelski merged commit a146453 into main May 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants