Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux-user/strace: show TID instead of PID
This aligns with strace, and is very useful when tracing multi-threaded programs. The result is the same in single-threaded programs. gettid() requires the _GNU_SOURCE feature test macro, so it might be unavailable in rare cases. I don't expect it to be a problem though, because it's implemented by both glibc and musl. Signed-off-by: J. Neuschäfer <[email protected]>
- Loading branch information