Skip to content

memleak.py no result with jemalloc5.3.0 #5392

@xpbob

Description

@xpbob

hi
memleak.py can produce results using the jemalloc5.2 program, while the jemalloc5.3 program has no results

env:
Reproduced as follows:

export LD_PRELOAD="/usr/local/lib/libjemalloc.so"
./leak_test
./memleak.py -p $(pgrep leak_test) -O /usr/local/lib/libjemalloc.so.2 

We found that it was the implementation of jemalloc that led to the changes in uprobe

jemalloc/jemalloc@edbfe69#diff-e84aa11907127083071fc3046183dd381618df08a67a609128f5d750874ab251%EF%BC%89

Should we consider adding a custom uprobe parameter to support this scenario

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions