* [Bug tapsets/11163] New: on ppc, 'syscall.readv' and 'syscall.writev' aliases report an "unknown" fd
@ 2010-01-12 21:57 dsmith at redhat dot com
2010-01-12 22:04 ` [Bug tapsets/11163] " fche at redhat dot com
2010-01-12 22:53 ` dsmith at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2010-01-12 21:57 UTC (permalink / raw)
To: systemtap
On ppc, the 'syscall.readv' and 'syscall.writev' aliases report the fd as
"unknown". This is because of the following commit:
commit 43efac911763c31250e953fcd633d7f275d88270
Author: hien <hien>
Date: Thu Mar 9 01:06:52 2006 +0000
Temporary fix can't resolve $fd for readv and writev on RHEL4 U3 ppc64.
This "temporary" fix has been around for a long time now.
Here's the code:
/* FIXME: RHEL4 U3 ppc64 can't resolve $fd */
%( arch != "powerpc" %?
fd = $fd
argstr = sprintf("%d, %p, %d", $fd, $vec, $vlen)
%:
argstr = sprintf("unknown fd, %p, %d", $vec, $vlen)
%)
While it may be true that RHEL4 U3 ppc64 can't resolve $fd, RHEL5 U3/U4 ppc64
can resolve $fd.
An easy workaround would be to add in a kernel version check so that "unknown"
fds are only reported for kernels of the RHEL4 era.
--
Summary: on ppc, 'syscall.readv' and 'syscall.writev' aliases
report an "unknown" fd
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11163
------- 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
* [Bug tapsets/11163] on ppc, 'syscall.readv' and 'syscall.writev' aliases report an "unknown" fd
2010-01-12 21:57 [Bug tapsets/11163] New: on ppc, 'syscall.readv' and 'syscall.writev' aliases report an "unknown" fd dsmith at redhat dot com
@ 2010-01-12 22:04 ` fche at redhat dot com
2010-01-12 22:53 ` dsmith at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2010-01-12 22:04 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2010-01-12 22:04 -------
This rather blunt hack should come out.
The --skip-badvars option would make scripts that use this probe alias work.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11163
------- 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
* [Bug tapsets/11163] on ppc, 'syscall.readv' and 'syscall.writev' aliases report an "unknown" fd
2010-01-12 21:57 [Bug tapsets/11163] New: on ppc, 'syscall.readv' and 'syscall.writev' aliases report an "unknown" fd dsmith at redhat dot com
2010-01-12 22:04 ` [Bug tapsets/11163] " fche at redhat dot com
@ 2010-01-12 22:53 ` dsmith at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2010-01-12 22:53 UTC (permalink / raw)
To: systemtap
------- Additional Comments From dsmith at redhat dot com 2010-01-12 22:53 -------
Fixed in commit 0effa39 by removing the ppc specific code.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=11163
------- 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:[~2010-01-12 22:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-12 21:57 [Bug tapsets/11163] New: on ppc, 'syscall.readv' and 'syscall.writev' aliases report an "unknown" fd dsmith at redhat dot com
2010-01-12 22:04 ` [Bug tapsets/11163] " fche at redhat dot com
2010-01-12 22:53 ` dsmith 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).