[Bug translator/19265] New: finding out-of-tree kernel modules only works with full paths, not relative paths

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Wed Nov 18 19:36:00 GMT 2015


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.


More information about the Systemtap mailing list