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


Cai Fei wrote:
> 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.

With bug #4591 resolved, you can now use println() for this.

Josh


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