* [Bug translator/3280] New: missing entrypc dwarf line record for function 'jprobe_return'
@ 2006-09-28 21:47 dwilder at us dot ibm dot com
2006-10-12 16:05 ` [Bug translator/3280] " dsmith at redhat dot com
2007-08-17 21:54 ` fche at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: dwilder at us dot ibm dot com @ 2006-09-28 21:47 UTC (permalink / raw)
To: systemtap
When running the following tap script on s390:
probe kernel.function("*") {}
I receive the following error.
[...]
semantic error: missing entrypc dwarf line record for function
'jprobe_return'
semantic error: no match for probe point
while: resolving probe point kernel.function("jprobe_return")
jprobe_return() is tagged __kprobes so it should automatically blacklisted;
However, the error is thrown before the blacklist is consulted. This results is
that the tap script not building.
Here is the
void __kprobes jprobe_return(void)
{
asm volatile (".word 0x0002");
}
I discussed this on the systemtap ml.
>The problem here is that while some of these routines are blacklisted
>> in the kernel (kprobe_register will fail), they are not blacklisted in
>> the translator. We need to teach the translator to look for the
>> kernel-side blacklist info too (the .kprobes section naming methinks),
>> and treat it similarly to the .init/.exit special cases already
>> present in tapsets.cxx.
>>
>> This way, function("*") will quietly exclude the blacklisted
>> functions.
>>
>> - FChE
Indeed this would be nice -- see bug #2639.
http://sources.redhat.com/bugzilla/show_bug.cgi?id=2639
In the mean time, we can add additional functions to the static
blacklist in the translator. See dwarf_query::build_blacklist(). It's
unfortunate that we have to try to maintain this, but I suppose it's
better than nothing. And, as you mention, kprobe_register will block
these too, so this is really just a matter of *when* the error is
caught.
Josh
--
Summary: missing entrypc dwarf line record for function
'jprobe_return'
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dwilder at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3280
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-17 21:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-28 21:47 [Bug translator/3280] New: missing entrypc dwarf line record for function 'jprobe_return' dwilder at us dot ibm dot com
2006-10-12 16:05 ` [Bug translator/3280] " dsmith at redhat dot com
2007-08-17 21:54 ` fche at redhat 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).