copy faults from user_string* functions

Eric Wong normalperson@yhbt.net
Fri Jul 26 19:50:00 GMT 2013


Eric Wong <normalperson@yhbt.net> wrote:
> Eric Wong <normalperson@yhbt.net> wrote:
> > Is there any optional way to get stap to trigger page faults to get
> > that data?
> 
> I could restructure my code to pass integers instead of strings as
> a workaround, but I'm trying my best to be lazy :>

Actually, simply reordering my code to access the string (via mempcpy)
before the trace point seems to work around the issue.  I'll keep the
try{}catch{} just in case, though.



More information about the Systemtap mailing list