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/19216] New: kprobe.module("MOD").function("FOO") doesn't work on out of tree modules


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

            Bug ID: 19216
           Summary: kprobe.module("MOD").function("FOO") doesn't work on
                    out of tree modules
           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: ---

While working on bug #19186, I've found that
'kprobe.module("MODULE").function("FOO")' probes don't work when MODULE is out
of the kernel tree. If you try this, you get a probe registration error on all
the probes on the module:

   WARNING: probe  registration error (symbol not found)

(Note that we need to fix the warning message and actually include the probe
name.)

We've got a test case for testing kprobe.module
(testsuite/systemtap.base/kmodule.exp) that tests kprobe.module on in-tree
modules, and we've got a test case for testing regular dwarf-based probes on
out-of-tree modules (testsuite/systemtap.base/modules_out_of_tree.exp), but we
don't have the combination of the two. It shouldn't be hard to add an extra
test to modules_out_of_tree.exp.

-- 
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]