[Patch]Fix the bug of missing definition of argstr and retstr

Cai Fei caifei@cn.fujitsu.com
Fri Aug 17 06:55:00 GMT 2007


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
>
>
>   



More information about the Systemtap mailing list