mstange / samply

Command-line sampling profiler for macOS and Linux
Apache License 2.0
2.04k stars 49 forks source link

Fix kernel module symbol tables. #152

Closed mstange closed 3 months ago

mstange commented 3 months ago

The symbol addresses for kernel modules in the simpleperf symbol tables are already relative to the base address, unlike the addresses for the main kernel image. We were subtracting with overflow. This is now fixed.