[Bug translator/26660] New: probe kernel.statement(HEX).absolute incorrectly requires kernel debuginfo
agentzh at gmail dot com
sourceware-bugzilla@sourceware.org
Thu Sep 24 02:37:14 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=26660
Bug ID: 26660
Summary: probe kernel.statement(HEX).absolute incorrectly
requires kernel debuginfo
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: agentzh at gmail dot com
Target Milestone: ---
To use stap to translate the following stap script:
```
probe kernel.statement(0xffffffff881075a0).absolute {
println("Hit")
exit()
}
```
we got the following error when kernel debuginfo is not present in the current
system:
```
semantic error: while resolving probe point: identifier 'kernel' at a.stp:1:7
source: probe kernel.statement(0xffffffff881075a0).absolute {
^
semantic error: while resolving probe point: identifier 'kernel' at :1:7
source: probe kernel.statement(0xffffffff881075a0).absolute {
^
semantic error: missing x86_64 kernel/module debuginfo [man warning::debuginfo]
under '/lib/modules/5.0.16-100.fc28.x86_64/build'
Pass 2: analysis failed. [man error::pass2]
```
But actually this probe point does not need kernel debug symbols at all.
I'll prepare a patch to fix it.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list