]> sourceware.org Git - systemtap.git/commitdiff
PR14180: Fix tapset documentation for non-root tapsets
authorJosh Stone <jistone@redhat.com>
Thu, 2 Aug 2012 19:38:27 +0000 (12:38 -0700)
committerJosh Stone <jistone@redhat.com>
Thu, 2 Aug 2012 19:38:27 +0000 (12:38 -0700)
* doc/SystemTap_Tapset_Reference/manpager: Use basenames so we can deal
  with tapsets that are from a subdirectory, like tapset/linux/.
* doc/SystemTap_Tapset_Reference/tapsets.tmpl: Update !I paths for the
  many tapsets that moved in commit d3110553.
* tapset/linux/context.stp: Defer <tapsetdescription> to tapset/context.stp

doc/SystemTap_Tapset_Reference/manpager
doc/SystemTap_Tapset_Reference/tapsets.tmpl
tapset/linux/context.stp

index adf5142616a64cd1234d1da1fc0a8283e406acaf..30e9571d31fbbdc546ad8161fcdd39d9cb043f39 100755 (executable)
@@ -23,10 +23,15 @@ cat $SRCTREE/doc/SystemTap_Tapset_Reference/tapsets.tmpl | grep  ^\!Itapset > ma
 sed -i -e 's/\!Itapset\///g' manpageus ;
 
 # copy list of man pages into working directory
+# with similar basenames concatenated
 for i in `cat manpageus` ; do
-  cp $SRCTREE/tapset/$i workingdir ;
+  b=`basename $i`
+  cat $SRCTREE/tapset/$i >>workingdir/$b ;
 done ;
 
+# rewrite manpageus to the resulting files
+ls workingdir >manpageus
+
 # enter workdir
 cd workingdir ;
 
index 025a24f497fb00e486ea697580c18a101ce175e1..9ed01071a47d294b1965ba3efb572db315024394 100644 (file)
       and the current register values for the processor.
     </para>
 !Itapset/context.stp
-!Itapset/context-envvar.stp
-!Itapset/context-symbols.stp
-!Itapset/ucontext.stp
-!Itapset/ucontext-symbols.stp
-!Itapset/context-unwind.stp
-!Itapset/context-caller.stp
-!Itapset/ucontext-unwind.stp
-!Itapset/task.stp
+!Itapset/linux/context.stp
+!Itapset/linux/context-envvar.stp
+!Itapset/linux/context-symbols.stp
+!Itapset/linux/ucontext.stp
+!Itapset/linux/ucontext-symbols.stp
+!Itapset/linux/context-unwind.stp
+!Itapset/linux/context-caller.stp
+!Itapset/linux/ucontext-unwind.stp
+!Itapset/linux/task.stp
 !Itapset/pn.stp
-!Itapset/pstrace.stp
+!Itapset/linux/pstrace.stp
 !Itapset/registers.stp
   </chapter>
 
       when an event occurred, provide an ordering for events, or compute
       the amount of time elapsed between two time stamps.
     </para>
-!Itapset/timestamp.stp
-!Itapset/timestamp_gtod.stp
-!Itapset/timestamp_monotonic.stp
+!Itapset/linux/timestamp.stp
+!Itapset/linux/timestamp_gtod.stp
+!Itapset/linux/timestamp_monotonic.stp
 !Itapset/stopwatch.stp
   </chapter>
 
       the timestamp function gettimeofday_s()) into a human readable
       date/time strings.
     </para>
-!Itapset/ctime.stp
+!Itapset/linux/ctime.stp
 !Itapset/tzinfo.stp
   </chapter>
 
       or query the memory usage of the current process.
       It contains the following probe points:
     </para>
-!Itapset/memory.stp
-!Itapset/proc_mem.stp
+!Itapset/linux/memory.stp
+!Itapset/linux/proc_mem.stp
   </chapter>
 
   <chapter id="task_time_stp">
       properties of the current tasks, translate those in miliseconds
       and human readable strings.
     </para>
-!Itapset/task_time.stp
+!Itapset/linux/task_time.stp
   </chapter>
 
   <chapter id="sched.stp">
       This family of probe points is used to probe the task scheduler activities.
       It contains the following probe points:
     </para>
-!Itapset/scheduler.stp
+!Itapset/linux/scheduler.stp
   </chapter>
 
   <chapter id="iosched.stp">
       This family of probe points is used to probe block IO layer and IO scheduler activities.
       It contains the following probe points:
     </para>
-!Itapset/ioscheduler.stp
-!Itapset/ioblock.stp
+!Itapset/linux/ioscheduler.stp
+!Itapset/linux/ioblock.stp
   </chapter>
 
   <chapter id="scsi.stp">
       This family of probe points is used to probe SCSI activities.  
       It contains the following probe points:
     </para>
-!Itapset/scsi.stp
+!Itapset/linux/scsi.stp
   </chapter>
 
   <chapter id="tty.stp">
       This family of probe points is used to probe TTY (Teletype) activities.
       It contains the following probe points:
     </para>
-!Itapset/tty.stp
+!Itapset/linux/tty.stp
   </chapter>
 
   <chapter id="irq.stp">
       (IRQ) activities.
       It contains the following probe points:
     </para>
-!Itapset/irq.stp
+!Itapset/linux/irq.stp
   </chapter>
 
   <chapter id="networking.stp">
       This family of probe points is used to probe the activities of
       the network device and protocol layers.
     </para>
-!Itapset/networking.stp
-!Itapset/tcp.stp
-!Itapset/udp.stp
-!Itapset/ip.stp
-!Itapset/inet.stp
-!Itapset/rpc.stp
-!Itapset/netfilter.stp
+!Itapset/linux/networking.stp
+!Itapset/linux/tcp.stp
+!Itapset/linux/udp.stp
+!Itapset/linux/ip.stp
+!Itapset/linux/inet.stp
+!Itapset/linux/rpc.stp
+!Itapset/linux/netfilter.stp
   </chapter>
 
   <chapter id="socket.stp">
       This family of probe points is used to probe socket activities.
       It contains the following probe points:
    </para>
-!Itapset/socket.stp
-!Itapset/inet_sock.stp
+!Itapset/linux/socket.stp
+!Itapset/linux/inet_sock.stp
   </chapter>
   <chapter id="snmp.stp">
     <title>SNMP Information Tapset</title>
       provide SNMP type information. It contains the following functions
       and probe points:
    </para>
-!Itapset/ipmib.stp
-!Itapset/ipmib-filter-default.stp
-!Itapset/tcpmib.stp
-!Itapset/tcpmib-filter-default.stp
-!Itapset/linuxmib.stp
-!Itapset/linuxmib-filter-default.stp
+!Itapset/linux/ipmib.stp
+!Itapset/linux/ipmib-filter-default.stp
+!Itapset/linux/tcpmib.stp
+!Itapset/linux/tcpmib-filter-default.stp
+!Itapset/linux/linuxmib.stp
+!Itapset/linux/linuxmib-filter-default.stp
   </chapter>
   <chapter id="kprocess.stp">
     <title>Kernel Process Tapset</title>
       This family of probe points is used to probe process-related activities.
       It contains the following probe points:
     </para>
-!Itapset/kprocess.stp
-!Itapset/target_set.stp
+!Itapset/linux/kprocess.stp
+!Itapset/linux/target_set.stp
   </chapter>
   <chapter id="signal.stp">
     <title>Signal Tapset</title>
       This family of probe points is used to probe signal activities.
       It contains the following probe points:
     </para>
-!Itapset/signal.stp
+!Itapset/linux/signal.stp
   </chapter>
   <chapter id="errno.stp">
     <title>Errno Tapset</title>
       This set of functions is used to handle kernel and userspace device numbers.
       It contains the following functions:
     </para>
-!Itapset/dev.stp
+!Itapset/linux/dev.stp
   </chapter>
   <chapter id="dentry.stp">
     <title>Directory-entry (dentry) Tapset</title>
       This family of functions is used to map kernel VFS
       directory entry pointers to file or full path names.
     </para>
-!Itapset/dentry.stp
+!Itapset/linux/dentry.stp
     </chapter>
   <chapter id="logging.stp">
     <title>Logging Tapset</title>
       message strings to various destinations.
     </para>
 !Itapset/logging.stp
+!Itapset/linux/logging.stp
     </chapter>
   <chapter id="queue_stats.stp">
     <title>Queue Statistics Tapset</title>
       the kernel or a user space programs based on addresses. All
       strings are of a maximum length given by MAXSTRINGLEN.
     </para>
-!Itapset/conversions.stp
-!Itapset/atomic.stp
-!Itapset/uconversions.stp
+!Itapset/linux/conversions.stp
+!Itapset/linux/atomic.stp
+!Itapset/linux/uconversions.stp
    </chapter>
 
   <chapter id="conversions-guru.stp">
       memory. All the functions in this tapset require the use of
       guru mode (<command>-g</command>).
     </para>
-!Itapset/conversions-guru.stp
+!Itapset/linux/conversions-guru.stp
     </chapter>
 
   <chapter id="guru-delay.stp">
       All the functions in this tapset require the use of
       guru mode (<command>-g</command>).
     </para>
-!Itapset/guru-delay.stp
-!Itapset/panic.stp
+!Itapset/linux/guru-delay.stp
+!Itapset/linux/panic.stp
   </chapter>
 
   <chapter id="string.stp">
       This family of probe points is used to probe network file storage
       functions and operations.
     </para>
-!Itapset/nfs_proc.stp
-!Itapset/nfs.stp
-!Itapset/nfsd.stp
-!Itapset/nfsderrno.stp
+!Itapset/linux/nfs_proc.stp
+!Itapset/linux/nfs.stp
+!Itapset/linux/nfsd.stp
+!Itapset/linux/nfsderrno.stp
   </chapter>
 
   <chapter id="speculation.stp">
index 1b424d152bf8fcf45eef308fea1ffe00356a80e2..4b53b0e00fa9ef9afcc9fb9dffafd204b13e65cc 100644 (file)
@@ -6,11 +6,8 @@
 // redistribute it and/or modify it under the terms of the GNU General
 // Public License (GPL); either version 2, or (at your option) any
 // later version.
-// <tapsetdescription>
-// Context functions provide additional information about where an event occurred. These functions can
-//provide information such as a backtrace to where the event occurred and the current register values for the
-//processor.
-// </tapsetdescription>
+//
+// NB: tapsetdescription is in tapset/context.stp
 
 /**
  * sfunction print_regs - Print a register dump
This page took 0.036936 seconds and 5 git commands to generate.