* [Bug runtime/6417] New: Wildcard probe hangs system
@ 2008-04-16 9:54 ananth at in dot ibm dot com
2008-04-16 14:26 ` [Bug runtime/6417] " ananth at in dot ibm dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ananth at in dot ibm dot com @ 2008-04-16 9:54 UTC (permalink / raw)
To: systemtap
stap on a simple script:
probe module("ext3").function("*')
{
printf("%s\n", probefunc());
}
causes the system to hang. Different cpus on the system experience softlockup
leading sometimes to a system hang/crash. Problem more easily recreatable on
POWERPC.
--
Summary: Wildcard probe hangs system
Product: systemtap
Version: unspecified
Status: NEW
Severity: critical
Priority: P1
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: ananth at in dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6417
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug runtime/6417] Wildcard probe hangs system
2008-04-16 9:54 [Bug runtime/6417] New: Wildcard probe hangs system ananth at in dot ibm dot com
@ 2008-04-16 14:26 ` ananth at in dot ibm dot com
2008-04-16 14:27 ` srinivasa at in dot ibm dot com
2008-04-17 8:38 ` srinivasa at in dot ibm dot com
2 siblings, 0 replies; 4+ messages in thread
From: ananth at in dot ibm dot com @ 2008-04-16 14:26 UTC (permalink / raw)
To: systemtap
------- Additional Comments From ananth at in dot ibm dot com 2008-04-16 09:37 -------
Of course, the probe statement in comment is
probe module("ext3").function("*")
not
probe module("ext3").function("*')
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6417
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug runtime/6417] Wildcard probe hangs system
2008-04-16 9:54 [Bug runtime/6417] New: Wildcard probe hangs system ananth at in dot ibm dot com
2008-04-16 14:26 ` [Bug runtime/6417] " ananth at in dot ibm dot com
@ 2008-04-16 14:27 ` srinivasa at in dot ibm dot com
2008-04-17 8:38 ` srinivasa at in dot ibm dot com
2 siblings, 0 replies; 4+ messages in thread
From: srinivasa at in dot ibm dot com @ 2008-04-16 14:27 UTC (permalink / raw)
To: systemtap
------- Additional Comments From srinivasa at in dot ibm dot com 2008-04-16 09:53 -------
Created an attachment (id=2700)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2700&action=view)
Patch to blacklist atomic_* functions.
When we use wildcards in scripts, Systemtap probes all functions present in the
file(s). For example, probe module("ext3").function("*") will probe all
functions called in fs/ext3/*.c, which includes atomic_* functions too.
But atomic_* functions are used in systemtap/kprobes and might be in
handlers,so we need to blacklist these functions.
In addition, get_bh() and put_bh() are both inline functions but in turn use
atomic functions. Ideally the atomic_* blacklist needs to take care of this,
but doesn't (probably 'cos of the way inlines are handled currently). So,
blacklist them too.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6417
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug runtime/6417] Wildcard probe hangs system
2008-04-16 9:54 [Bug runtime/6417] New: Wildcard probe hangs system ananth at in dot ibm dot com
2008-04-16 14:26 ` [Bug runtime/6417] " ananth at in dot ibm dot com
2008-04-16 14:27 ` srinivasa at in dot ibm dot com
@ 2008-04-17 8:38 ` srinivasa at in dot ibm dot com
2 siblings, 0 replies; 4+ messages in thread
From: srinivasa at in dot ibm dot com @ 2008-04-17 8:38 UTC (permalink / raw)
To: systemtap
------- Additional Comments From srinivasa at in dot ibm dot com 2008-04-17 08:13 -------
patch is commited with commit id a11f4bae4d8bf226520308b44342a14cd02cb196.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=6417
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-04-17 8:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-16 9:54 [Bug runtime/6417] New: Wildcard probe hangs system ananth at in dot ibm dot com
2008-04-16 14:26 ` [Bug runtime/6417] " ananth at in dot ibm dot com
2008-04-16 14:27 ` srinivasa at in dot ibm dot com
2008-04-17 8:38 ` srinivasa at in dot ibm 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).