Skip to content

How malloc_history works.. #1

@jk77

Description

@jk77

This may help in answering the question,

How can malloc_history command show the name of objects and call stack or more? malloc_history works well only if the target process is alive. That's the key to understand how malloc_history works, I think. Does anybody know any information about the mechanism of malloc_history?

The stack_logging_disk.c source file includes this comment:

Stack log files can be quite large and aren't useful after the process that created them no longer exists because the stack backtrace uniquing tree was only kept in the process memory, not on disk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions