Page MenuHomeFreeBSD

Export the whole thread name in kinfo_proc
ClosedPublic

Authored by vangyzen on Dec 6 2016, 11:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 19, 11:33 AM
Unknown Object (File)
Thu, Apr 17, 6:21 AM
Unknown Object (File)
Mon, Apr 14, 7:04 AM
Unknown Object (File)
Mon, Apr 14, 6:43 AM
Unknown Object (File)
Mon, Apr 14, 2:47 AM
Unknown Object (File)
Mon, Apr 14, 2:34 AM
Unknown Object (File)
Thu, Apr 10, 12:12 AM
Unknown Object (File)
Jan 13 2025, 9:33 AM
Subscribers

Details

Summary

kinfo_proc::ki_tdname is three characters shorter than
thread::td_name. Add a ki_moretdname field for these three
extra characters. Add the new field to kinfo_proc32, as well.
Update all in-tree consumers to read the new field and assemble
the full name, except for lldb's HostThreadFreeBSD.cpp, which
I will handle separately. Bump __FreeBSD_version.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6157
Build 6413: arc lint + arc unit

Event Timeline

vangyzen retitled this revision from to Export the whole thread name in kinfo_proc.
vangyzen updated this object.
vangyzen edited the test plan for this revision. (Show Details)
kib added a reviewer: kib.
This revision is now accepted and ready to land.Dec 7 2016, 9:43 AM
This revision was automatically updated to reflect the committed changes.