This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: 1st draft - Tapset Writer's Guide
- From: Sébastien Dugué <sebastien dot dugue at bull dot net>
- To: Mike Mason <mmlnx at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Thu, 5 Apr 2007 08:44:09 +0200
- Subject: Re: 1st draft - Tapset Writer's Guide
- References: <46140ED9.2010600@us.ibm.com>
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.