public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/19265] New: finding out-of-tree kernel modules only works with full paths, not relative paths
@ 2015-11-18 19:36 dsmith at redhat dot com
  2015-11-19 14:57 ` [Bug translator/19265] " dsmith at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2015-11-18 19:36 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19265

            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_out_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")'

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-11 21:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-18 19:36 [Bug translator/19265] New: finding out-of-tree kernel modules only works with full paths, not relative paths dsmith at redhat dot com
2015-11-19 14:57 ` [Bug translator/19265] " dsmith at redhat dot com
2015-11-23 16:54 ` dsmith at redhat dot com
2016-01-11 21:27 ` dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).