From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26804 invoked by alias); 4 Feb 2010 12:59:52 -0000 Received: (qmail 26750 invoked by uid 48); 4 Feb 2010 12:59:41 -0000 Date: Thu, 04 Feb 2010 12:59:00 -0000 From: "mjw at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20100204125941.11249.mjw@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/11249] New: Tracking executable plus library fails on i386 X-Bugzilla-Reason: AssignedTo 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: 2010-q1/txt/msg00325.txt.bz2 The following works fine on x86_64: $ stap -e 'probe process("/bin/ls").function("*").call, probe process("/lib64/libc.so.6").function("*").call { log(pp()) }' -c /bin/ls producing logs of function calls in both the process and the library. But on i386 (use /lib/libc.so.6) it only produces some of the calls in the library, none in the executable: $ stap -e 'probe process("/bin/ls").function("*").call, process("/lib/libc.so.6").function("*").call { log(pp()) }' -c /bin/ls process("/lib/libc.so.6").function("__sigprocmask@../sysdeps/unix/sysv/linux/sigprocmask.c:38").call process("/lib/libc.so.6").function("execvp@/usr/src/debug/glibc-2.11.1/posix/execvp.c:26").call process("/lib/libc.so.6").function("__execvpe@/usr/src/debug/glibc-2.11.1/posix/execvpe.c:50").call process("/lib/libc.so.6").function("__execve@../sysdeps/unix/sysv/linux/execve.c:28").call process("/lib/libc.so.6").function("__new_getrlimit@../sysdeps/unix/sysv/linux/i386/getrlimit.c:40").call process("/lib/libc.so.6").function("__sysconf@../sysdeps/unix/sysv/linux/x86_64/sysconf.c:32").call process("/lib/libc.so.6").function("__getpagesize@../sysdeps/unix/sysv/linux/getpagesize.c:27").call And that is it. Only probing the process itself and not the library correctly logs all executable function calls. -- Summary: Tracking executable plus library fails on i386 Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime AssignedTo: systemtap at sources dot redhat dot com ReportedBy: mjw at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=11249 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.