iovisor / bcc

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more
Apache License 2.0
20.36k stars 3.86k forks source link

When using memleak.py, one piece of stack information has only one layer of depth #4840

Closed lymhelcy closed 9 months ago

lymhelcy commented 9 months ago

Hello, when I use this command "sudo python3 tools/memleak.py -p 76744 --combined-only" to detect my program. In the command output, one piece of stack information has only one layer of depth, but when I remove the option " --combined-only", it does not report this information again. What is this, Can someone help me?

I think it may be related to function “get_stackid“. Is function “get_stackid“” thread safe?

image

lymhelcy commented 9 months ago

My bcc version is 0.28.0