0

I'm trying to use System Tap for gdb-helpers (an extension of the C debugger gdb), but I get an error that I've found on Stack to be caused by not having the kernel debug symbols installed (see here: Original Answer).

My problem is, I've only found the installation instructions for Ubuntu and CentOS, and I'm on Amazon Linux AMI version 2018.03.

I've Googled to hell and back, and NOWHERE can I find the yum to install the kernel debug symbols for Amazon.

Does anyone know how to do this and fix my issue?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
  • The first thing I'd try is the [stap-prep](https://man7.org/linux/man-pages/man1/stap-prep.1.html) command. Did your systemtap installation provide a copy of this? – Mark Plotnick May 03 '22 at 22:19
  • I ran stap-prep and it appeared to install the amazon kernel debug symbols, but I still get the python error: `semantic error: while resolving probe point: identifier 'kernel' at /home/zach/gdb-helpers-master/gdbhelpers/preattach.stp:17:7 source: probe kernel.trace("signal_deliver") {` It complains about the kernel. – Zachary Gillette May 04 '22 at 15:10

0 Answers0