This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]