slab ¤
Commands for dealing with Linux kernel slab allocator. Currently, only SLUB is supported.
Some of the code here was inspired from NeatMonster/slabdbg Some of the code here was inspired from osandov/drgn
Functions:
-
slab– -
emphasize– -
handle_next– -
freelist_desc– -
print_slab– -
print_cpu_cache– -
print_node_cache– -
slab_info– -
slab_list– -
slab_contains–prints the slab_cache associated with the provided address
Attributes:
-
parser– -
subparsers– -
parser_list– -
parser_info– -
parser_contains–
parser module-attribute ¤
parser = ArgumentParser(
description="Prints information about the linux kernel's slab allocator SLUB."
)
slab ¤
slab(
command,
filter_=None,
names=None,
verbose=False,
addresses=None,
cpu=None,
node=None,
partial_only=False,
active_only=False,
) -> None
print_cpu_cache ¤
print_cpu_cache(
cpu_cache: CpuCache, verbose: bool, active: bool, partial: bool, indent
) -> None
slab_info ¤
slab_contains ¤
prints the slab_cache associated with the provided address