This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: rethinking syscall tapset
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Martin Hunt <hunt at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: 31 Jan 2006 10:04:32 -0500
- Subject: Re: rethinking syscall tapset
- References: <1138689272.3948.17.camel@monkey2>
hunt wrote:
> [...]
> probe syscall.open = kernel.function("sys_open") {
> [...]
> tracestr = "open ".filename." "._sys_open_flag_str(flags)."
> ".hexstring(mode)
(By the way, you can use sprintf instead if you prefer.)
> Note that I've replaced "kernel.syscall" with just "syscall". [...]
> I've created a string "tracestr" [...]
> I've created another variable all return probes set called "returnp". [...]
> What do you think?
All good ideas.
- FChE