"Kernel Release isn't found"

Fieck, Brennan Brennan_Fieck@comcast.com
Wed Jun 20 16:16:00 GMT 2018


Hey, it's me again.


I'm having trouble using `stap -r /path/to/my/build/tree`. When I run that command (pointing it to a 4.9.70 kernel that I downloaded from kernel.org under `~/src/kernel/linux-4.9.70`) stap is printing:

"ERROR: kernel release isn't found in "/home/bwilli415/src/kernel/src/linux-4.9.70"


I used the makefile to generate a `.config` file (with `make olddefconfig`) and copied that to `config-4.9.70-x86_64` in case it's looking for that, but it didn't help. Other than that, the build tree is pristine; exactly as archived on kernel.org.

What am I missing? Is systemtap not meant to operate on raw kernel trees (e.g. only on some modified centOS/RHEL kernel source tree)?


Thanks

Brennan Fieck



More information about the Systemtap mailing list