From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56482 invoked by alias); 10 Nov 2015 05:48:21 -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 Received: (qmail 56472 invoked by uid 89); 10 Nov 2015 05:48:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wm0-f44.google.com Received: from mail-wm0-f44.google.com (HELO mail-wm0-f44.google.com) (74.125.82.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 10 Nov 2015 05:48:18 +0000 Received: by wmec201 with SMTP id c201so115542508wme.0 for ; Mon, 09 Nov 2015 21:48:16 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.19.170 with SMTP id g10mr2028012wje.66.1447134496091; Mon, 09 Nov 2015 21:48:16 -0800 (PST) Received: by 10.194.116.69 with HTTP; Mon, 9 Nov 2015 21:48:16 -0800 (PST) Date: Tue, 10 Nov 2015 05:48:00 -0000 Message-ID: Subject: Is there any better method to pass "-d OBJECT" options in command line? From: Nan Xiao To: systemtap@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-q4/txt/msg00104.txt.bz2 Hi all, I want to track which functions calling fork, so I modify forktracker.stp (https://sourceware.org/systemtap/examples/process/forktracker.stp): probe kprocess.create { printf("%-25s: %s (%d:%d) created %d:%d\n", ctime(gettimeofday_s()), execname(), pid(), tid(), new_pid, new_tid) print_ubacktrace(); } probe kprocess.exec { printf("%-25s: %s (%d) is exec'ing %s\n", ctime(gettimeofday_s()), execname(), pid(), filename) print_ubacktrace() } But after executing the script, I find it sometimes prompts warnings: WARNING: Missing unwind data for module, rerun with 'stap -d /usr/lib64/libpython2.7.so.1.0' ...... WARNING: Missing unwind data for module, rerun with 'stap -d .../lib64/libvirt/connection-driver/libvirt_driver_interface.so' WARNING: Missing unwind data for module, rerun with 'stap -d /bin/bash' I can use "stap -d /usr/lib64/libpython2.7.so.1.0 -d .. -d ... forktracker.stp" to resolve this issue. But if there are many lacking libraries, the "-d ..." options will cause command line too long. So my question is whether there is a better method to specify these lacked "*.so" files? Thanks in advance! Best Regards Nan Xiao