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


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

Serguei Makarov <smakarov at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smakarov at redhat dot com

--- Comment #1 from Serguei Makarov <smakarov at redhat dot com> 2012-12-19 21:37:29 UTC ---
Pushed a set of stub functions for task_finder and vma that output warning
messages to inform the user that functionality may not be available, e.g.:

WARNING: cannot track target in process
'/opt/codebase/build/testsuite/towers.x'
WARNING: cannot track target in process 'XXX'
WARNING: process-tracking facilities are not available in this kernel

while still allowing the script in question to proceed. (All of the
corresponding task_finder callback registrations are ignored silently, and the
callbacks are never called.)

This is probably better than the prior behaviour, which could readily run into
an error at the C compilation stage (when error messages are most confusing).

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