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: 1st draft - Tapset Writer's Guide


  Hi Mike, thanks for sharing this.

  Just a few typos at a first glance:

[snip]
> 
> EMBEDDED C & SAFETY
> 
> As mentioned previously, you can use embedded C (raw C code) to do things 
> not supported by the SystemTap language.  Please so this carefully and 
                                                   ^
                                                   do ?

> sparingly.  Embedded C bypasses all the safety features built into 
> SystemTap.  Be especially careful when dereferencing pointers.  Use the 
> kread() macro to dereference any pointers that could potentially be 
> invalid.  If you're not sure, error on the side of caution.  The cost of 
                                ^
                                err ?

> using kread() is small compared to the cost of your tapset inadvertently 
> crashing a system!
> 
> 


  Sébastien.


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