Skip to content

Add slabdump corelens module#200

Open
brenns10 wants to merge 5 commits intomainfrom
slabdump
Open

Add slabdump corelens module#200
brenns10 wants to merge 5 commits intomainfrom
slabdump

Conversation

@brenns10
Copy link
Member

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 12, 2026
These helpers are based on the ones I contributed as part of the drgn
"rd" command, however they are not constrained by being compatible with
crash. It's not terribly different from the "print_annotated_memory()"
helper of drgn, but I like the density of 16 bytes per line, and the
flexibility to display ascii translation.

Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
In a recent investigation I found it helpful to dump the contents of
allocated slab objects and manually inspect them, to understand what the
primary user was. This was a kmalloc cache, so it made sense that these
objects could have many users.

Add this quick script to corelens as a module, for easier interactive
diagnostics.

Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant