systemtap to trace source of syscall error?

Frank Ch. Eigler fche@redhat.com
Mon Dec 20 15:11:00 GMT 2010


adrien wrote:

> [...]
> If you have a reliable reproducer, I would suggest divide and
> conquering with something like this:
>
> 	global testnr = 1
>
> 	probe kernel.function("do_utimes@*.c:139"),
> 	      kernel.function("do_utimes@*.c:142"),
> 	      [add more checkpoints here as you dig deeper]
> 	{
> 		printf("passed test %d, now at %s\n", testnr++, pp())
> 	}

Yikes, that should be kernel.statement, not kernel.function.  I wonder
if we should get stap to warn for a line-number-laden kernel.function
probe spec.


- FChE



More information about the Systemtap mailing list