* [Bug translator/26660] New: probe kernel.statement(HEX).absolute incorrectly requires kernel debuginfo
@ 2020-09-24 2:37 agentzh at gmail dot com
2020-09-24 4:27 ` [Bug translator/26660] " agentzh at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: agentzh at gmail dot com @ 2020-09-24 2:37 UTC (permalink / raw)
To: systemtap
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug translator/26660] probe kernel.statement(HEX).absolute incorrectly requires kernel debuginfo
2020-09-24 2:37 [Bug translator/26660] New: probe kernel.statement(HEX).absolute incorrectly requires kernel debuginfo agentzh at gmail dot com
@ 2020-09-24 4:27 ` agentzh at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: agentzh at gmail dot com @ 2020-09-24 4:27 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=26660
agentzh <agentzh at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from agentzh <agentzh at gmail dot com> ---
Fixed in commit 747902edd81.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-24 4:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24 2:37 [Bug translator/26660] New: probe kernel.statement(HEX).absolute incorrectly requires kernel debuginfo agentzh at gmail dot com
2020-09-24 4:27 ` [Bug translator/26660] " agentzh at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).