Home | History | Annotate | Download | only in pmap
History log of /src/usr.bin/pmap/main.h
RevisionDateAuthorComments
 1.8  09-Sep-2023  ad - Shrink namecache entries to 64 bytes on 32-bit platforms and use 32-bit
key values there for speed (remains 128 bytes & 64-bits on _LP64).
- Comments.
 1.7  21-Aug-2022  mlelstv Add -t option to print pmap as underlying RB tree.
Report gap/maxgap fields when dumping vm_map structure.
 1.6  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5  31-Jul-2003  yamt branches: 1.5.32;
remove remaining v_id.
 1.4  04-Apr-2003  atatat Add some more intricate groveler options:

-A address Dumps the vm_amap structure found at address.

-E address Dumps the vm_map_entry structure found at address.

-S address Dumps the vmspace structure found at address.

-V address Dumps the vm_map structure found at address.

This required reorganizing the code a little, which led to some
cleanup (yay!). These new methods are executed without any extra
privileges, so you need read access on /dev/mem or on the kernel core
into which you are digging.

This should be useful for, eg, examining amaps are corrupt when being
destroyed, which can cause a kernel panic (and, hence, are no longer
connected to a map entry, or the map entry is no longer connected to a
vm_map/vmspace).

The options in the man page have also been reorganized.
 1.3  28-Mar-2003  atatat Add the capability to dump the struct vm_amap and the am_anon,
am_bckptr, am_slots, and am_anon data, if the vm_map_entry has an
amap. This adds three new debug "bits" to the -D argument, so the
namei cache dumping "bit" has been moved up.

Also, change the * that gets emitted with -vv to indicate the number
of pages skipped and the size of the area (in kilobytes).
 1.2  27-Feb-2003  atatat Clean up code in places, add some more (possible) submap names, make
better use of the submap names when dumping the kernel map, clean up
the "interface" between the main and LOCKDEBUG dependent pmap modules,
and make the heap identification work better.
 1.1  08-Jan-2003  atatat Make pmap work on LOCKDEBUG *and* non-LOCKDEBUG kernels (previously it
would fail in spectacular ways on LOCKDEBUG kernels) by compiling the
groveler code twice (the second time with LOCKDEBUG defined so that
the appropriate structures get larger in the right way). We currently
decide if we are operating on a kernel with LOCKDEBUG enabled if the
kernel's vm_map has referential integrity between a few pointers
and/or values.

Also, if you use more than one -v, you get a * on a line by itself in
between gaps in entries. It makes finding gaps much easier visually.
 1.5.32.1  18-May-2008  yamt sync with head.

RSS XML Feed