summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-03-31 16:34:41 +0200
committerMark Wielaard <mjw@redhat.com>2009-03-31 16:34:41 +0200
commitdc246f3c5fb0d9fdc4388e00d8ddf5d1b53a3fc8 (patch)
tree02fba78d2024954289dca48e8a93d50f7016b0d2
parentff41ddbb9f40fbcc4bb0aa11ca0d8e03b369b606 (diff)
downloadsystemtap-steved-dc246f3c5fb0d9fdc4388e00d8ddf5d1b53a3fc8.tar.gz
systemtap-steved-dc246f3c5fb0d9fdc4388e00d8ddf5d1b53a3fc8.tar.xz
systemtap-steved-dc246f3c5fb0d9fdc4388e00d8ddf5d1b53a3fc8.zip
Add missing socket function argument descriptions.
* tapsets/socket.stp: Add descriptions for proto, family and state.
-rw-r--r--tapset/socket.stp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tapset/socket.stp b/tapset/socket.stp
index 0f01b8d4..de778d7c 100644
--- a/tapset/socket.stp
+++ b/tapset/socket.stp
@@ -545,6 +545,7 @@ probe socket.close.return = kernel.function ("sock_release").return
/**
* sfunction sock_prot_num2str - Given a protocol number, return a string representation.
+ * @proto: The protocol number.
*/
function sock_prot_num2str:string (proto:long)
{
@@ -553,6 +554,7 @@ function sock_prot_num2str:string (proto:long)
/**
* sfunction sock_prot_str2num - Given a protocol name (string), return the corresponding protocol number.
+ * @proto: The protocol name.
*/
function sock_prot_str2num:long (proto:string)
{
@@ -563,6 +565,7 @@ function sock_prot_str2num:long (proto:string)
/**
* sfunction sock_fam_num2str - Given a protocol family number, return a string representation.
+ * @family: The family number.
*/
function sock_fam_num2str:string (family:long)
{
@@ -572,6 +575,7 @@ function sock_fam_num2str:string (family:long)
/**
* sfunction sock_fam_str2num - Given a protocol family name (string), return the corresponding
* protocol family number.
+ * @family: The family name.
*/
function sock_fam_str2num:long (family:string)
{
@@ -582,6 +586,7 @@ function sock_fam_str2num:long (family:string)
/**
* sfunction sock_state_num2str - Given a socket state number, return a string representation.
+ * @state: The state number.
*/
function sock_state_num2str:string (state:long)
{
@@ -590,6 +595,7 @@ function sock_state_num2str:string (state:long)
/**
* sfunction sock_state_str2num - Given a socket state string, return the corresponding state number.
+ * @state: The state name.
*/
function sock_state_str2num:long (state:string)
{