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: [Patch]Fix the bug of missing definition of argstr and retstr


Frank Ch. Eigler wrote:
Hi -

On Fri, Aug 17, 2007 at 12:09:59PM +0900, Cai Fei wrote:
My probe definition is :
probe syscall.getpid {
log(sprint(argstr))
}

Why not just "log(argstr)" ?


I used sprint so that numeric and non-numeric arguments can both be outputted
in the same way.
[...]
So I think it's better to add all these argstr definitions.

Sure, there is no problem adding them, except that they make the tapset file larger.

- FChE




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