This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Can't set statement probe in self-built linux-4.4
- From: Chris Dunlop <chris at onthe dot net dot au>
- To: David Smith <dsmith at redhat dot com>
- Cc: "Frank Ch. Eigler" <fche at redhat dot com>, systemtap at sourceware dot org
- Date: Sat, 2 Jul 2016 06:44:28 +1000
- Subject: Re: Can't set statement probe in self-built linux-4.4
- Authentication-results: sourceware.org; auth=none
- References: <20160630075744 dot GA3637 at onthe dot net dot au> <y0mk2h6vi3c dot fsf at fche dot csb> <20160630223410 dot GB16787 at onthe dot net dot au> <3c5f69d1-d155-f737-40a2-c4f84f650566 at redhat dot com>
On Fri, Jul 01, 2016 at 11:11:54AM -0500, David Smith wrote:
> On 06/30/2016 05:34 PM, Chris Dunlop wrote:
>>
>> $ 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").*'
$ stap -L 'kernel.function("register_shrinker").*'
kernel.function("register_shrinker").call
kernel.function("register_shrinker").exported
kernel.function("register_shrinker").return
> That should let us know if 'register_shrinker' is only inlined in your
> kernel.