summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_struct.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* initialise the width var in db_struct_offset_cmd()jsg2015-09-011-1/+2
| | | | ok miod@ deraadt@
* LP64 non-PMAP_DIRECT archs like sparc64 have a structure largerguenther2013-10-191-5/+6
| | | | | | | than 65536 bytes, so make parse_structinfo.pl detect that and switch to u_int for sizes and offsets when that happens. ok miod@
* Rewrite the awk script that generates the data for option DDB_STRUCT:guenther2013-10-151-14/+18
| | | | | | | | | | | | - switch to perl for better data structures and (thus) speed - fix a couple glitches in the interpretation of the stabs output - compress the strings by putting them in one big array and overlaying suffixes - all sizes and offsets are <64k, so use u_short for them This results in ~60% reduction in the resulting text size and it now takes less than a second to create on fast platforms. ok miod@
* Introduce option DDB_STRUCT. Kernels compiled with this option (except onmiod2009-08-091-0/+271
a few arches where toolchain limitations apply) will embed some symbolic information about the various structs used within the kernel, and have new ddb commands allowing struct display and some useful information gathering. Kernel rodata increase varies accross platforms from ~150KB to ~300KB. This option is not enabled by default.