From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49425 invoked by alias); 18 Nov 2015 19:36:48 -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 49387 invoked by uid 48); 18 Nov 2015 19:36:44 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/19265] New: finding out-of-tree kernel modules only works with full paths, not relative paths Date: Wed, 18 Nov 2015 19:36:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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/msg00148.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D19265 Bug ID: 19265 Summary: finding out-of-tree kernel modules only works with full paths, not relative paths Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: translator Assignee: systemtap at sourceware dot org Reporter: dsmith at redhat dot com Target Milestone: --- Let's say you have an out-of-tree kernel module, like the one from the modules_out_of_tree.exp testcase. If you refer to the full pathname of the module, things work correctly: # stap -l 'module("/root/module/stap_modules_out_of_tree.ko").function("*_init")' module("/root/module/stap_modules_out_of_tree.ko").function("stap_modules_o= ut_of_tree_init@/root/module/stap_modules_out_of_tree.c:8") However, a relative path doesn't work: # pwd /root/module # stap -l 'module("./stap_modules_out_of_tree.ko").function("*_init")' --=20 You are receiving this mail because: You are the assignee for the bug.