public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/15456] New: syscalls and nd_syscalls tapset compat probe points broken on kernel 3.10
@ 2013-05-10 18:02 dsmith at redhat dot com
  2013-05-10 19:41 ` [Bug tapsets/15456] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-05-10 18:02 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=15456

             Bug #: 15456
           Summary: syscalls and nd_syscalls tapset compat probe points
                    broken on kernel 3.10
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: dsmith@redhat.com
    Classification: Unclassified


In kernel 3.10 (3.10.0-0.rc0.git21.1.fc20.x86_64), the compat syscalls have
been cleaned up and arguments named "first", "second", etc. have been renamed
to have more meaning. The syscalls and nd_syscalls tapsets need to be updated
to handle this change. In addition, the compat syscall probes should try to
have convenience variables named like the non-compat syscall probes.

Here's an example:

====
# stap -ve 'probe syscall.compat_sys_semctl { printf("%s(%s)\n", name, argstr)
}'
Pass 1: parsed user script and 90 library script(s) using
167752virt/25572res/2172shr/24084data kb, in 180usr/40sys/215real ms.
semantic error: unable to find local 'first', [man error::dwarf] dieoffset
0x2229dc1 in kernel, near pc 0xffffffff812d09e0 in compat_SyS_semctl
ipc/compat.c (alternatives: $semid $semnum $cmd $arg): identifier '$first' at
/usr/local/share/systemtap/tapset/linux/syscalls2.stp:1534:37
        source:     argstr = sprintf("%d, %d, %d, %p", $first, $second, $third,
$uptr)
                                                       ^

Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 364288virt/164648res/105504shr/59792data kb, in 1000usr/790sys/1807real
ms.
Pass 2: analysis failed.  [man error::pass2]
====

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tapsets/15456] syscalls and nd_syscalls tapset compat probe points broken on kernel 3.10
  2013-05-10 18:02 [Bug tapsets/15456] New: syscalls and nd_syscalls tapset compat probe points broken on kernel 3.10 dsmith at redhat dot com
@ 2013-05-10 19:41 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-05-10 19:41 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=15456

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from David Smith <dsmith at redhat dot com> 2013-05-10 19:41:49 UTC ---
Fixed in commit 40fbf66.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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:[~2013-05-10 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-10 18:02 [Bug tapsets/15456] New: syscalls and nd_syscalls tapset compat probe points broken on kernel 3.10 dsmith at redhat dot com
2013-05-10 19:41 ` [Bug tapsets/15456] " 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).