From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
To: Hyeoncheol Lee <hyc.lee@gmail.com>
Cc: masami.hiramatsu.pt@hitachi.com, linux-kernel@vger.kernel.org
Subject: Re: [QUESTION] Can uprobe_event support @ADDR, $retval, offs(FETCHARG)?
Date: Wed, 26 Sep 2012 10:12:38 +0530 [thread overview]
Message-ID: <20120926044238.GC27339@linux.vnet.ibm.com> (raw)
In-Reply-To: <CANFS6bZtOPe8XbsgC0V0encVLssFShWGhNLZQkCvEhKcNT946w@mail.gmail.com>
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
next prev parent reply other threads:[~2012-09-26 5:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-26 2:52 [QUESTION] Can uprobe_event support @ADDR, $retval, offs(FETCHARG)? Hyeoncheol Lee
2012-09-26 4:42 ` Srikar Dronamraju [this message]
2012-09-26 5:33 ` Masami Hiramatsu
2012-09-26 5:23 ` Srikar Dronamraju
2012-09-26 7:07 ` Hyeoncheol Lee
2012-09-26 6:55 ` Hyeoncheol Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120926044238.GC27339@linux.vnet.ibm.com \
--to=srikar@linux.vnet.ibm.com \
--cc=hyc.lee@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=masami.hiramatsu.pt@hitachi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.