From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63409 invoked by alias); 1 Jul 2016 16:12:02 -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 63393 invoked by uid 89); 1 Jul 2016 16:12:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=dsmith@redhat.com, U*dsmith, sk:dsmith, sk:dsmith@ X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 01 Jul 2016 16:12:00 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 49CD8BDD92; Fri, 1 Jul 2016 16:11:58 +0000 (UTC) Received: from t540p.usersys.redhat.com (ovpn-116-51.rdu2.redhat.com [10.10.116.51]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u61GBsvj002202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Jul 2016 12:11:56 -0400 Subject: Re: Can't set statement probe in self-built linux-4.4 To: Chris Dunlop , "Frank Ch. Eigler" References: <20160630075744.GA3637@onthe.net.au> <20160630223410.GB16787@onthe.net.au> Cc: systemtap@sourceware.org From: David Smith Message-ID: <3c5f69d1-d155-f737-40a2-c4f84f650566@redhat.com> Date: Fri, 01 Jul 2016 16:12:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20160630223410.GB16787@onthe.net.au> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-q3/txt/msg00001.txt.bz2 On 06/30/2016 05:34 PM, Chris Dunlop wrote: > Hi Frank, > > On Thu, Jun 30, 2016 at 10:58:47AM -0400, Frank Ch. Eigler wrote: >>> [...] >>> I can't seem to set statement probes in a self-built linux-4.4. What can >>> be going wrong? [...] > > [...] > >> Have you tried: >> >> $ stap -L 'kernel.statement("register_shrinker@*:*")' >> >> to get the list of line numbers that systemtap recognizes? > > No, I hadn't come across that option in my travels - that's useful! > Unfortunately it doesn't come back with anything: > > $ stap -v -L 'kernel.statement("register_shrinker@*:*")' > Pass 1: parsed user script and 116 library scripts using 93372virt/31140res/3000shr/28456data kb, in 190usr/20sys/206real ms. > Pass 2: analyzed script: 0 probes, 0 functions, 0 embeds, 0 globals using 131260virt/69116res/3764shr/66344data kb, in 310usr/40sys/354real ms. Hmm. Please try the following: # stap -L 'kernel.function("register_shrinker").*' That should let us know if 'register_shrinker' is only inlined in your kernel. -- David Smith dsmith@redhat.com Red Hat http://www.redhat.com 256.217.0141 (direct) 256.837.0057 (fax)