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]

Re: copy faults from user_string* functions


Hi, Eric -

On Fri, Jul 26, 2013 at 05:56:02PM +0000, Eric Wong wrote:
> [...]
> Is there any optional way to get stap to trigger page faults to get
> that data?

Not easily.  Perhaps from the tracing site, the code could load a few
bytes of the strings whose addresses are being passed.  Perhaps try an
mlock() or some other explicit data-segment-dereference loop during
program startup?

> When tracing, losing a little performance is OK, especially with
> cmogstored (which is entirely network/disk bound).

Understood.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]