is systemtap's language more complicated than needed.

Vara Prasad prasadav@us.ibm.com
Thu Dec 14 13:15:00 GMT 2006


James Dickens wrote:

> [snip]
>
>> Perhaps, though we would be saving just two tokens ("." and "function"
>> / "statement" / ...) for each such shorthand use.  Or one could save
>> typing effort by supporting explicit abbreviations like "k.stmt(...)"
>> for "kernel.statement(...)".
>
>
> and make the thing even harder to read? I hope this isn't the case. I
> started this thread because of readability not the length of the
> files.
>
> while we are talking about shortening things I did see one other
> change to the language, currently  there is  kernel.syscall  probes
> this should be shortened to syscall because there won't be userland
> syscalls we will be monitoring correct?

Although we wont be monitoring syscalls in the application systemcall 
tapset is correct in referring to kernel.syscall rather than just 
syscall to maintain consistency in the syntax. In other words all things 
in the kernel have kernel prefix even if they are unique.

>
> James
>
> '
>
>>
>> - FChE
>>




More information about the Systemtap mailing list