From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28301 invoked by alias); 15 Jan 2013 23:11:26 -0000 Received: (qmail 28191 invoked by uid 48); 15 Jan 2013 23:11:01 -0000 From: "eldereng at hotmail dot com" To: systemtap@sourceware.org Subject: [Bug uprobes/15016]=?UTF-8?Q?=20SystemTap=20=2B=20Probing=20User=20Space=E2=80=8F?= Date: Tue, 15 Jan 2013 23:11:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: uprobes X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eldereng at hotmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-q1/txt/msg00016.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15016 Elder changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #2 from Elder 2013-01-15 23:11:00 UTC --- I installed the latest version of kernel (3.7.2), but the systemtap not working for probing in user space. I tested using the following command: stap -vvv -e 'probe process("/bin/ls").function("*") { log(pp()) }' -c /bin/ls Return of the command: Systemtap translator/driver (version 2.1/0.153, commit release-2.0-108-g6b378b7) Copyright (C) 2005-2012 Red Hat, Inc. and others This is free software; see the source for copying conditions. enabled features: AVAHI LIBSQLITE3 NSS BOOST_SHARED_PTR TR1_UNORDERED_MAP NLS Created temporary directory "/tmp/stapimWfUH" Session arch: x86_64 release: 3.7.2xen Parsed kernel "/lib/modules/3.7.2xen/build/.config", containing 4043 tuples Parsed kernel /lib/modules/3.7.2xen/build/Module.symvers, which contained 5975 vmlinux exports Searched for library macro files: "/usr/local/share/systemtap/tapset/linux/*.stpm", found: 1, processed: 1 Searched for library macro files: "/usr/local/share/systemtap/tapset/*.stpm", found: 1, processed: 1 Searched: "/usr/local/share/systemtap/tapset/linux/x86_64/*.stp", found: 3, processed: 3 Searched: "/usr/local/share/systemtap/tapset/linux/*.stp", found: 64, processed: 64 Searched: "/usr/local/share/systemtap/tapset/x86_64/*.stp", found: 1, processed: 1 Searched: "/usr/local/share/systemtap/tapset/*.stp", found: 20, processed: 20 Pass 1: parsed user script and 90 library script(s) using 81148virt/24524res/2524shr/22636data kb, in 120usr/10sys/137real ms. Extracting build ID. parse '*', func '*' focused on module '/usr/bin/ls' = [0x400000-0x61c368, bias 0 file /usr/bin/ls ELF machine |x86_64 (code 62) focused on module '/usr/bin/ls' WARNING: cannot find module /usr/bin/ls debuginfo: No DWARF information found semantic error: while resolving probe point: identifier 'process' at :1:7 source: probe process("/bin/ls").function("*") { log(pp()) } ^ semantic error: no match Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) using 81788virt/25576res/2884shr/23164data kb, in 10usr/0sys/4real ms. Pass 2: analysis failed. Try again with another '--vp 01' option. Running rm -rf /tmp/stapimWfUH Spawn waitpid result (0x0): 0 Removed temporary directory "/tmp/stapimWfUH" Source of the code: http://sourceware.org/systemtap/wiki/HomePage?action=AttachFile&do=get&target=fosdem-stap.pdf Can someone help me? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.