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
F149040351: D8722.id22735.diff
Sat, Mar 21, 11:20 PM
F149040270: D8722.id22735.diff
Sat, Mar 21, 11:20 PM
Unknown Object (File)
Sat, Mar 21, 6:52 AM
Unknown Object (File)
Sat, Mar 21, 5:55 AM
Unknown Object (File)
Thu, Mar 19, 5:25 AM
Unknown Object (File)
Sun, Mar 15, 2:39 PM
Unknown Object (File)
Sat, Mar 14, 5:22 PM
Unknown Object (File)
Sat, Mar 14, 3:22 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.