2023-10-11 15:15:21

by Trond Myklebust

[permalink] [raw]
Subject: bpftrace script to monitor tasks that are stuck in NFSv4 exception loops

See attachment.

--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
[email protected]



Attachments:
nfs4-client-monitor-exceptions (852.00 B)
bpftrace script

2023-10-16 20:25:24

by Benjamin Coddington

[permalink] [raw]
Subject: Re: bpftrace script to monitor tasks that are stuck in NFSv4 exception loops

On 11 Oct 2023, at 11:15, Trond Myklebust wrote:

> See attachment.

Cool. Thanks for this - looks pretty similar to the systemtap stuff we use, but compile times are faster here.

I wonder if bpftrace can do the "guru" things that systemtap can, like modify the stack and memory.

Seems it works with gcc too, just needed CONFIG_DEBUG_INFO_BTF=y. I will play with it a bit.

Ben