public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Sylvain Fourmanoit <syfou@users.sourceforge.net>
To: systemtap@sourceware.org
Subject: Matching function parameters and corresponding return value
Date: Tue, 13 Jun 2006 22:20:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.64.0606131800540.5501@sylvain> (raw)

Hi all,

I would like to watch calls to a preemptible function such as sys_open():
ideally, I would like to know both the tentatively accessed files and the 
success (or not) of the various calls.

But I don't see how to do this: of course, I can without problem 
register a jprobe and a kretprobe on sys_open(), both how do I correlate 
pairs of probe calls reliably? Or is it just the wrong approach?

Any insight on how to do this, either with SystemTap or directly 
with Kprobes would be really appreciated!

-- 
Sylvain <syfou@users.sourceforge.net>

"Don't fear the pen. When in doubt, draw a pretty picture."
    --Baker's Third Law of Design.

             reply	other threads:[~2006-06-13 22:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-13 22:20 Sylvain Fourmanoit [this message]
2006-06-13 23:15 ` Li Guanglei
2006-06-14 18:04   ` Martin Hunt
2006-06-14 14:25 ` Frank Ch. Eigler

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=Pine.LNX.4.64.0606131800540.5501@sylvain \
    --to=syfou@users.sourceforge.net \
    --cc=systemtap@sourceware.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).