This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rethinking syscall tapset


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]