From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17860 invoked by alias); 26 Jul 2013 17:56:11 -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 17850 invoked by uid 89); 26 Jul 2013 17:56:11 -0000 X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,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 17:56:10 +0000 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id F25621F6FF; Fri, 26 Jul 2013 17:56:02 +0000 (UTC) Date: Fri, 26 Jul 2013 17:56:00 -0000 From: Eric Wong To: "Frank Ch. Eigler" Cc: Systemtap List Subject: Re: copy faults from user_string* functions Message-ID: <20130726175602.GA5773@dcvr.yhbt.net> References: <20130726063634.GA32443@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-q3/txt/msg00069.txt.bz2 "Frank Ch. Eigler" wrote: > normalperson wrote: > > Hi all, just to clarify, not all of these faults are user errors, right? > > I get these sometimes with some strings (constants, I think): > > ERROR: user string copy fault -14 at 000000000042f16c near identifier 'user_string_n' at $prefix/share/systemtap/tapset/uconversions.stp:120:10 > > [...] > > It can simply mean having some not-yet-paged-in data, which in the > spirit of non-interference, stap will not trigger a page fault for. > Please try error-catching constructs such as try{}catch{}, or > --skip-badvars to tolerate them. Hi Frank, thanks for the response. --skip-badvars seems to work for me. Is there any optional way to get stap to trigger page faults to get that data? When tracing, losing a little performance is OK, especially with cmogstored (which is entirely network/disk bound). > > This is for cmogstored, if anybody is interested in reproducing this, > > I've pushed my work-in-progress to the "st-wip-broken" branch of > > git://bogomips.org/cmogstored.git The HACKING doc in the top-level > > should document all the build-dependencies if you want to try to > > reproduce it. > > Neat. > > - FChE -- Eric Wong