From d229a157d2841dec1486dabf3caa009d0d9fb84f Mon Sep 17 00:00:00 2001 From: ddomingo Date: Fri, 14 Nov 2008 09:20:24 +1000 Subject: added short description of tapset format --- .../en-US/Introduction.xml | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'doc/SystemTap_Tapset_Reference') diff --git a/doc/SystemTap_Tapset_Reference/en-US/Introduction.xml b/doc/SystemTap_Tapset_Reference/en-US/Introduction.xml index 84e960d4..31e8a784 100644 --- a/doc/SystemTap_Tapset_Reference/en-US/Introduction.xml +++ b/doc/SystemTap_Tapset_Reference/en-US/Introduction.xml @@ -20,4 +20,43 @@ tapset library. This document describes the various probe points and functions. + +
+ Tapset Name Format + +In this guide, tapset definitions appear in the following format: + + +name:return (parameters) + definition + + + + The return field specifies what data type the tapset extracts + and returns from the kernel during a probe (and thus, returns). + Tapsets use 2 data types for return: + long (tapset extracts and returns an integer) and + string (tapset extracts and returns a string). + + + + In some cases, tapsets do not have a return value. This + simply means that the tapset does not extract anything from the kernel. This is common among + asynchronous events such as timers, exit functions, and print functions. + + + + + + +
+ + -- cgit