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: Can't set statement probe in self-built linux-4.4


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)


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