From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128138 invoked by alias); 19 Nov 2015 14:57:28 -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 120620 invoked by uid 48); 19 Nov 2015 14:57:23 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/19265] finding out-of-tree kernel modules only works with full paths, not relative paths Date: Thu, 19 Nov 2015 14:57:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q4/txt/msg00155.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D19265 --- Comment #1 from David Smith --- Here's another oddity reported by Nan Xiao in : =3D=3D=3D=3D Another interesting thing: if there is a "-" in path, the SystemTap also fail to parse: # stap -v -l 'module("/root/Downloads/kernel-master/105.ops/kex.ko").function("*")' Pass 1: parsed user script and 102 library script(s) using 78528virt/28740res/2700shr/26724data kb, in 170usr/20sys/183real ms. Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) using 79536virt/30480res/3164shr/27732data kb, in 0usr/50sys/53real ms. Change kernel-master to kernel: # stap -v -l 'module("/root/Downloads/kernel/105.ops/kex.ko").function("*"= )' Pass 1: parsed user script and 102 library script(s) using 78528virt/28732res/2700shr/26724data kb, in 180usr/10sys/189real ms. module("/root/Downloads/kernel/105.ops/kex.ko").function("_open@/root/Downl= oads/kernel-master/105.ops/kex.c:21") module("/root/Downloads/kernel/105.ops/kex.ko").function("_read@/root/Downl= oads/kernel-master/105.ops/kex.c:45") module("/root/Downloads/kernel/105.ops/kex.ko").function("_release@/root/Do= wnloads/kernel-master/105.ops/kex.c:33") module("/root/Downloads/kernel/105.ops/kex.ko").function("copy_to_user@/usr= /src/linux-3.12.49-6/arch/x86/include/asm/uaccess_64.h:72") module("/root/Downloads/kernel/105.ops/kex.ko").function("kex_cleanup@/root= /Downloads/kernel-master/105.ops/kex.c:90") module("/root/Downloads/kernel/105.ops/kex.ko").function("kex_init@/root/Do= wnloads/kernel-master/105.ops/kex.c:61") Pass 2: analyzed script: 6 probe(s), 0 function(s), 0 embed(s), 0 global(s) using 79548virt/30624res/3304shr/27744data kb, in 20usr/30sys/56real ms. =3D=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.