Skip to content

jemalloc ¤

Functions:

Attributes:

parser module-attribute ¤

parser = ArgumentParser(
    description="Utility for inspecting the jemalloc allocator."
)

subparsers module-attribute ¤

subparsers = add_subparsers(dest='command')

heap_parser module-attribute ¤

heap_parser = add_parser(
    "heap",
    description="Prints all extents information",
    help="Prints all extents information",
)

info_parser module-attribute ¤

info_parser = add_parser(
    "extent-info",
    description="Prints extent information for the given address",
    help="Prints extent information for the given address",
)

find_parser module-attribute ¤

find_parser = add_parser(
    "find-extent",
    description="Returns extent information for pointer address allocated by jemalloc",
    help="Returns extent information for pointer address allocated by jemalloc",
)

jemalloc_find_extent ¤

jemalloc_find_extent(addr: int) -> None

jemalloc_extent_info ¤

jemalloc_extent_info(
    addr: int, verbose: bool = False, header: bool = True
) -> bool

jemalloc_heap ¤

jemalloc_heap() -> None

jemalloc_command ¤

jemalloc_command(command: str, addr: int = -1, verbose: bool = False) -> None