K 10 svn:author V 7 git2svn K 8 svn:date V 27 2021-09-12T18:33:47.665115Z K 7 svn:log V 820 genoffset: simplify and rewrite in sh genoffset used the fully generic ASSYM macro to generate the offsets needed for the thread_lite structure. However, since these are offsets into a structure, they will always be necessarily small and positive. As such, just create a simple character array of the right size and use a naming convention such that we can recover the field name, structure name and type. Use nm -t d and sort -n to sort these into order, then loop over the resutls to generate the thread_lite structure. MFC After: 2 weeks Reviewed by: kib, markj (earlier versions) Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31203 (cherry picked from commit 824897a3aea5ca22db8cb7d5b404697a1de1210a) Git Hash: 1f4475725f0e6a65b6a07f927a278b72a620d8ba Git Author: imp@FreeBSD.org END