[Patch]Fix the bug of missing definition of argstr and retstr
Stone, Joshua I
joshua.i.stone@intel.com
Fri Aug 17 16:36:00 GMT 2007
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
More information about the Systemtap
mailing list