Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6333

How to use -V option in perf probe?

$
0
0

I'm trying to print a value of variable in specific function using perf. So I tried perf probe with -V option, but I got error message like this.

# perf probe -V tcp_sendmsgFailed to find the path for the kernel: Invalid ELF file  Error: Failed to show vars.

So I downloaded kernel symbol&source package and I checked that the value CONFIG_DEBUG_INFO in /boot/config-5.3.0-46-generic'set to 1. But still the same error occurs.

How should I fix this problem?

Ubuntu 18.04 LTSrelease: 5.3.0-46-genericversion: 38~18.04.01


Viewing all articles
Browse latest Browse all 6333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>