diff options
author | Josh Stone <jistone@redhat.com> | 2009-04-21 12:34:33 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-04-21 12:34:43 -0700 |
commit | cff7feda3e990bb554f39dbf5d8055256dca5af5 (patch) | |
tree | cf24d13d859db605f4ad67c4a877fb8005b24a30 /stap.1.in | |
parent | 3ae4cdf91d758136cbf71c814c725c643d251f41 (diff) | |
download | systemtap-steved-cff7feda3e990bb554f39dbf5d8055256dca5af5.tar.gz systemtap-steved-cff7feda3e990bb554f39dbf5d8055256dca5af5.tar.xz systemtap-steved-cff7feda3e990bb554f39dbf5d8055256dca5af5.zip |
Document @cast-with-headers
Diffstat (limited to 'stap.1.in')
-rw-r--r-- | stap.1.in | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -800,6 +800,15 @@ separators. If the module is not specified, it will default either to the probe module for dwarf probes, or to "kernel" for functions and all other probes types. .PP +The translator can create its own module with type information from a header +surrounded by angle brackets, in case normal debuginfo is not available. For +kernel headers, prefix it with "kernel" to use the appropriate build system. +All other headers are build with default GCC parameters into a user module. +.SAMPLE +@cast(tv, "timeval", "<sys/time.h>")->tv_sec +@cast(task, "task_struct", "kernel<linux/sched.h>")->tgid +.ESAMPLE +.PP When in guru mode, the translator will also allow scripts to assign new values to members of typecasted pointers. .PP |