public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Matching function parameters and corresponding return value
@ 2006-06-13 22:20 Sylvain Fourmanoit
  2006-06-13 23:15 ` Li Guanglei
  2006-06-14 14:25 ` Frank Ch. Eigler
  0 siblings, 2 replies; 4+ messages in thread
From: Sylvain Fourmanoit @ 2006-06-13 22:20 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-14 18:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-13 22:20 Matching function parameters and corresponding return value Sylvain Fourmanoit
2006-06-13 23:15 ` Li Guanglei
2006-06-14 18:04   ` Martin Hunt
2006-06-14 14:25 ` Frank Ch. Eigler

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).