[OpenAFS] Re: Debugging opportunity (time-sensitive)

Andrew Deason adeason@sinenomine.net
Wed, 18 May 2011 10:25:06 -0500

This is a multi-part message in MIME format.

Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 18 May 2011 11:11:37 -0400
Jeff Blaine <jblaine@kickflop.net> wrote:

> > Does 'cmdebug<client>' return anything?
> Nope.

As in, it hangs, or it exits without any output?

But okay, to see where in libafs you're hanging, you can

dtrace -s traceafs.d -c "ls -ld /afs"

(as root) and give the output, or at least around the spot where it
hangs. I'm assuming 'ls -ld /afs' hangs, though. Just put some other
command in there otherwise.

Andrew Deason

Content-Type: text/x-dsrc;
Content-Disposition: attachment;
Content-Transfer-Encoding: 7bit

#pragma D option flowindent

fbt:afs::entry /pid == $target/ {}
fbt:afs::return /pid == $target/ {}