This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/14883] let probefunc() not fail - or fail more informatively, on non-uprobes kernels
- From: "smakarov at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 19 Dec 2012 21:37:29 +0000
- Subject: [Bug runtime/14883] let probefunc() not fail - or fail more informatively, on non-uprobes kernels
- Auto-submitted: auto-generated
- References: <bug-14883-6586@http.sourceware.org/bugzilla/>
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.