Messages in this thread | | | Date | Wed, 26 Sep 2012 10:12:38 +0530 | From | Srikar Dronamraju <> | Subject | Re: [QUESTION] Can uprobe_event support @ADDR, $retval, offs(FETCHARG)? |
| |
Hi Hyeoncheol,
> uprobe_event only supports %REG arguments. I think that memory fetch, > return value fetch, memory dereference functions in > kernel/trace/trace_probe.c are good for uprobe_event.
Yes, these will be good to have and is listed as todo.
> So with a little > modification of parse_probe_arg(), uprobe_event can support @ADDR, > $retval, offs(FETCHARGS) except @SYM, $stack, $stackN. Is it right?
For some of these like the @sym, trace_uprobe.c may not be the right place because the kernel will not be able to decode user space symbols.
$retval needs uretprobes support
-- Thanks and Regards Srikar
| |