From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26089 invoked by alias); 18 Feb 2011 23:17:25 -0000 Received: (qmail 26081 invoked by uid 22791); 18 Feb 2011 23:17:24 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Feb 2011 23:17:20 +0000 From: "jan.kratochvil at redhat dot com" To: systemtap@sources.redhat.com Subject: [Bug tapsets/12500] New: ptrace decoder X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sources dot redhat.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 18 Feb 2011 23:17:00 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00288.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12500 Summary: ptrace decoder Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: tapsets AssignedTo: systemtap@sources.redhat.com ReportedBy: jan.kratochvil@redhat.com Created attachment 5252 --> http://sourceware.org/bugzilla/attachment.cgi?id=5252 ptrace decoder. Tested on: F14 x86_64 RHEL-6.1 s390+s390x+ppc64 ia64 is untested There is some room for improvements but it works fine. probe syscall.ptrace.return // TODO: _arch_ptrace_return would need to create probe variables - how? - A function called from probe cannot create variables like `name'. s390x: // FIXME: ptrace of 32-bit debuggers is not caught by SystemTap, // use +4 and +8 offsets for them On RHEL-4/RHEL-5 there may be needed more #ifndef/#define's like now in tapset/powerpc/syscalls.stp but I did not have systemtap-1.4/HEAD on those boxes to test it. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.