Can kernel.statement access the function argument?
voyager1983
wang.yongzhi2009@gmail.com
Fri Apr 8 03:52:00 GMT 2011
Hi, All
I am trying to access the argument of kernel function in kernel.statement
probe point. But I get the error message:
semantic error: not accessible at this address (0xc01a82e0): identifier
'$irq' at question.stp:2:38
source: printf("irq number is %d\n", $irq)
^
Pass 2: analysis failed. Try again with another '--vp 01' option.
The question.stp file is as below:
probe kernel.statement("handle_IRQ_event@kernel/irq/handle.c:376"){
printf("irq number is %d\n", $irq)
}
I am using SystemTap 1.3 on Ubuntu10.10 to trace the kernel 2.6.35.9.
Are we allowed to access the function argument in kernel.statement probe
point? If not, is there any walk around solution?
Thanks!
Joey
--
View this message in context: http://old.nabble.com/Can-kernel.statement-access-the-function-argument--tp31348406p31348406.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.
More information about the Systemtap
mailing list