This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
"Kernel Release isn't found"
- From: "Fieck, Brennan" <Brennan_Fieck at comcast dot com>
- To: "systemtap at sourceware dot org" <systemtap at sourceware dot org>
- Date: Wed, 20 Jun 2018 16:16:24 +0000
- Subject: "Kernel Release isn't found"
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