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: systemtap to trace source of syscall error?


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


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