[Bug tapsets/2861] user_string fault handling

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jun 28 20:43:00 GMT 2006


------- Additional Comments From fche at redhat dot com  2006-06-28 18:56 -------
For the short term, I would like to see a separate user_string() variant that
silently tolerates errors.  This variant could return a fixed string in this
case, or (even better) the string given by an additional parameter:

   user_string (addr) ==> noisily fails as presently
   user_string2 (addr,msg) ==> quietly returns msg on access error

The syscalls tapset would presumably switch to the second form.

One might modify the translator to permit overloading by function arity, thus
not requiring such awesome creativity with function naming.


-- 


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list