I'm trying to the get the following script to run https://github.com/kentonv/dvorak-qwerty/blob/master/unix/dvorak-qwerty.stp
It fails with the following error on install.
a@T420:~/Desktop$ sudo apt install systemtap linux-headers-$(uname -r) linux-image-$(uname -r
)-dbg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-image-5.13.0-39-generic-dbg
E: Couldn't find any package by glob 'linux-image-5.13.0-39-generic-dbg'
When trying to run sudo stap -g dvorak-qwerty.stp -v
it fails with regardless of -dbg
being appending to the apt install.
Pass 1: parsed user script and 480 library scripts using 128480virt/105132res/10908shr/93796data kb, in 310usr/40sys/344real ms.
semantic error: resolution failed in DWARF builder
semantic error: resolution failed in DWARF builder
semantic error: while resolving probe point: identifier 'module' at dvorak-qwerty.stp:152:7
source: probe module("evdev").function("evdev_events") {
^
semantic error: no match
semantic error: resolution failed in DWARF builder
Pass 2: analyzed script: 2 probes, 0 functions, 1 embed, 0 globals using 131072virt/108876res/12244shr/96388data kb, in 10usr/10sys/14real ms.
Pass 2: analysis failed. [man error::pass2]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.