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 runtime/14883] New: let probefunc() not fail - or fail more informatively, on non-uprobes kernels


http://sourceware.org/bugzilla/show_bug.cgi?id=14883

             Bug #: 14883
           Summary: let probefunc() not fail - or fail more informatively,
                    on non-uprobes kernels
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


Bug #13693 rewrote probefunc() to go to usymname(uaddr()) if user_mode, which
in turn activates the whole task-finder mechanism.  If the kernel is not up to
that, the user gets a bewildering error message:

user-space facilities not available without kernel CONFIG_UTRACE or
CONFIG_TRACEPOINTS/CONFIG_ARCH_SUPPORTS_UPROBES/CONFIG_UPROBES

Running with --compatible=1.8 makes things work.

We should improve this; some options:
- change usym*() to tolerate absence of the utrace/uprobes goo, and return
empty or hex strings
- or one level down: change the runtime for pragma:vma without utrace/uprobes
to succeed with a stub dummy
- improve the error message in its own right (probably don't list CONFIG*
literals)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]