From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27742 invoked by alias); 26 Jul 2013 19:50:28 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 27718 invoked by uid 89); 26 Jul 2013 19:50:28 -0000 X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_40,RDNS_NONE autolearn=no version=3.3.1 Received: from Unknown (HELO dcvr.yhbt.net) (64.71.152.64) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 26 Jul 2013 19:50:27 +0000 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 252961F6FE; Fri, 26 Jul 2013 19:50:20 +0000 (UTC) Date: Fri, 26 Jul 2013 19:50:00 -0000 From: Eric Wong To: "Frank Ch. Eigler" Cc: Systemtap List Subject: Re: copy faults from user_string* functions Message-ID: <20130726195020.GA7739@dcvr.yhbt.net> References: <20130726063634.GA32443@dcvr.yhbt.net> <20130726175602.GA5773@dcvr.yhbt.net> <20130726194220.GA7389@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130726194220.GA7389@dcvr.yhbt.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-q3/txt/msg00071.txt.bz2 Eric Wong wrote: > Eric Wong 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.