summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-09-16 15:23:50 -0700
committerJosh Stone <jistone@redhat.com>2009-09-16 15:23:50 -0700
commitb57367210bd84bdbf6a78785905127fb7711e567 (patch)
treeaed5afade259f8af6b9ceadd1d8bf83ed56ce2c8
parent5f4b21e21d7d9503bc27b04d0296adb74adeb86b (diff)
downloadsystemtap-steved-b57367210bd84bdbf6a78785905127fb7711e567.tar.gz
systemtap-steved-b57367210bd84bdbf6a78785905127fb7711e567.tar.xz
systemtap-steved-b57367210bd84bdbf6a78785905127fb7711e567.zip
Spelling fixes in the tapsets
-rw-r--r--doc/SystemTap_Tapset_Reference/tapsets.tmpl4
-rw-r--r--man/stapprobes.netdev.3stap.in2
-rw-r--r--man/stapprobes.snmp.3stap.in2
-rw-r--r--tapset/context-symbols.stp6
-rw-r--r--tapset/context-unwind.stp2
-rw-r--r--tapset/context.stp33
-rw-r--r--tapset/networking.stp8
-rw-r--r--tapset/signal.stp4
-rw-r--r--tapset/socket.stp2
-rw-r--r--tapset/ucontext-symbols.stp6
10 files changed, 34 insertions, 35 deletions
diff --git a/doc/SystemTap_Tapset_Reference/tapsets.tmpl b/doc/SystemTap_Tapset_Reference/tapsets.tmpl
index 7e9d4784..448d4b20 100644
--- a/doc/SystemTap_Tapset_Reference/tapsets.tmpl
+++ b/doc/SystemTap_Tapset_Reference/tapsets.tmpl
@@ -113,7 +113,7 @@
The context functions provide additional information about where
an event occurred.
These functions can provide information such as a backtrace to
- where the event occured
+ where the event occurred
and the current register values for the processor.
</para>
!Itapset/context.stp
@@ -202,7 +202,7 @@
<title>Directory-entry (dentry) Tapset</title>
<para>
This family of functions is used to map kernel VFS
- directory entriy pointers to file or full path names.
+ directory entry pointers to file or full path names.
</para>
!Itapset/dentry.stp
</chapter>
diff --git a/man/stapprobes.netdev.3stap.in b/man/stapprobes.netdev.3stap.in
index 9b2e57ed..ff09f150 100644
--- a/man/stapprobes.netdev.3stap.in
+++ b/man/stapprobes.netdev.3stap.in
@@ -70,7 +70,7 @@ Fires when the network device wants to transmit a buffer
The protocol of this packet.
.I truesize
- The size of the the data to be transmitted.
+ The size of the data to be transmitted.
.SH SEE ALSO
.IR stap (1),
diff --git a/man/stapprobes.snmp.3stap.in b/man/stapprobes.snmp.3stap.in
index 3c606932..95da75c9 100644
--- a/man/stapprobes.snmp.3stap.in
+++ b/man/stapprobes.snmp.3stap.in
@@ -23,7 +23,7 @@ This family of probe points enhances the Linux system's implementation of the Si
by allowing the user to collect per-socket statistics. SNMP data is collected in the Linux kernel by counting various events occurring in the networking subsystem. Linux provides one counter for each type of event, thus providing a system-wide collection of network statistics. These statistics can be viewed with the command:
.B netstat -s.
-The probpoints defined in the SNMP group of tapsets allow users to aberrate each SNMP counter into groups of counters. For example, the user may count SNMP events for a single network socket or for a group of sockets.
+The probe points defined in the SNMP group of tapsets allow users to aberrate each SNMP counter into groups of counters. For example, the user may count SNMP events for a single network socket or for a group of sockets.
Severals SNMP tapsets have been created. Each tapset represents a single layer of the network stack and defines a group of counters called management information blocks or MIBs. Currently tapsets are provided that support MIBS for IP, TCP layers and the enhanced linux MIB. See the file /usr/include/linux/snmp.h for a list of MIBS supported by linux.
diff --git a/tapset/context-symbols.stp b/tapset/context-symbols.stp
index e4406d9b..3ec7a866 100644
--- a/tapset/context-symbols.stp
+++ b/tapset/context-symbols.stp
@@ -8,7 +8,7 @@
// 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 occured and the current register values for the
+//provide information such as a backtrace to where the event occurred and the current register values for the
//processor.
// </tapsetdescription>
%{
@@ -19,7 +19,7 @@
/**
* sfunction print_stack - Print out stack from string.
- * @stk: String with list of hexidecimal addresses.
+ * @stk: String with list of hexadecimal addresses.
*
* Perform a symbolic lookup of the addresses in the given string,
* which is assumed to be the result of a prior call to
@@ -138,7 +138,7 @@ function symname:string (addr: long) %{ /* pure */
* Description: Returns the (function) symbol name associated with the
* given address if known, plus the module name (between brackets) and
* the offset inside the module, plus the size of the symbol function.
- * If any element is not known it will be ommitted and if the symbol name
+ * If any element is not known it will be omitted and if the symbol name
* is unknown it will return the hex string for the given address.
*/
function symdata:string (addr: long) %{ /* pure */
diff --git a/tapset/context-unwind.stp b/tapset/context-unwind.stp
index d6654d25..4ad45dba 100644
--- a/tapset/context-unwind.stp
+++ b/tapset/context-unwind.stp
@@ -8,7 +8,7 @@
// 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 occured and the current register values for the
+//provide information such as a backtrace to where the event occurred and the current register values for the
//processor.
// </tapsetdescription>
%{
diff --git a/tapset/context.stp b/tapset/context.stp
index 92c325ce..21af79b4 100644
--- a/tapset/context.stp
+++ b/tapset/context.stp
@@ -7,8 +7,8 @@
// 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 occured and the current register values for the
+// 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>
@@ -78,7 +78,7 @@ function pgrp:long () %{ /* pure */
/**
* sfunction sid - Returns the session ID of the current process.
- *
+ *
* The session ID of a process is the process group ID of the session
* leader. Session ID is stored in the signal_struct since Kernel 2.6.0.
*/
@@ -108,9 +108,9 @@ function pexecname:string () %{ /* pure */
*/
function gid:long () %{ /* pure */
#ifdef STAPCONF_TASK_UID
- THIS->__retvalue = current->gid;
+ THIS->__retvalue = current->gid;
#else
- THIS->__retvalue = current_gid();
+ THIS->__retvalue = current_gid();
#endif
%}
@@ -119,9 +119,9 @@ function gid:long () %{ /* pure */
*/
function egid:long () %{ /* pure */
#ifdef STAPCONF_TASK_UID
- THIS->__retvalue = current->egid;
+ THIS->__retvalue = current->egid;
#else
- THIS->__retvalue = current_egid();
+ THIS->__retvalue = current_egid();
#endif
%}
@@ -130,9 +130,9 @@ function egid:long () %{ /* pure */
*/
function uid:long () %{ /* pure */
#ifdef STAPCONF_TASK_UID
- THIS->__retvalue = current->uid;
+ THIS->__retvalue = current->uid;
#else
- THIS->__retvalue = current_uid();
+ THIS->__retvalue = current_uid();
#endif
%}
@@ -141,15 +141,14 @@ function uid:long () %{ /* pure */
*/
function euid:long () %{ /* pure */
#ifdef STAPCONF_TASK_UID
- THIS->__retvalue = current->euid;
+ THIS->__retvalue = current->euid;
#else
- THIS->__retvalue = current_euid();
+ THIS->__retvalue = current_euid();
#endif
%}
/**
- * sfunction is_myproc - Determines if the current probe point has occurred in
- * the user's own process.
+ * sfunction is_myproc - Determines if the current probe point has occurred in the user's own process.
*
* Return 1 if the current probe point has occurred in the user's own process.
*/
@@ -177,7 +176,7 @@ function cpu:long () %{ /* pure */
* sfunction pp - Return the probe point associated with the currently running probe handler,
* including alias and wildcard expansion effects
* Context:
- * The current probe point.
+ * The current probe point.
*/
function pp:string () %{ /* pure */
strlcpy (THIS->__retvalue, CONTEXT->probe_point, MAXSTRINGLEN);
@@ -221,8 +220,8 @@ function user_mode:long () %{ /* pure */ /* currently a user-mode address? */
function is_return:long () %{ /* pure */
if (CONTEXT->pi)
THIS->__retvalue = 1;
- else
- THIS->__retvalue = 0;
+ else
+ THIS->__retvalue = 0;
%}
/**
@@ -285,7 +284,7 @@ function stack_unused:long () %{ /* pure */
* sfunction uaddr - User space address of current running task. EXPERIMENTAL.
*
* Description: Returns the address in userspace that the current
- * task was at when the probe occured. When the current running task
+ * task was at when the probe occurred. When the current running task
* isn't a user space thread, or the address cannot be found, zero
* is returned. Can be used to see where the current task is combined
* with usymname() or symdata(). Often the task will be in the VDSO
diff --git a/tapset/networking.stp b/tapset/networking.stp
index bcc99789..0c9d8afb 100644
--- a/tapset/networking.stp
+++ b/tapset/networking.stp
@@ -15,10 +15,10 @@ function get_netdev_name:string (addr:long) {
}
/**
- * probe netdev.receive - Data recieved from network device.
+ * probe netdev.receive - Data received from network device.
* @dev_name: The name of the device. e.g: eth0, ath1.
* @length: The length of the receiving buffer.
- * @protocol: Protocol of recieved packet.
+ * @protocol: Protocol of received packet.
*
*/
/// <varlistentry><term>protocol</term>
@@ -72,7 +72,7 @@ probe netdev.receive
* @dev_name: The name of the device. e.g: eth0, ath1.
* @length: The length of the transmit buffer.
* @protocol: The protocol of this packet.
- * @truesize: The size of the the data to be transmitted.
+ * @truesize: The size of the data to be transmitted.
*
*/
// Queue a buffer for transmission to a network device
@@ -124,7 +124,7 @@ probe netdev.close
* @dev_name: The device scheduled to transmit
* @protocol: The protocol used in the transmission
* @length: The length of the transmit buffer.
- * @truesize: The size of the the data to be transmitted.
+ * @truesize: The size of the data to be transmitted.
*/
probe netdev.hard_transmit
= kernel.function("dev_hard_start_xmit")
diff --git a/tapset/signal.stp b/tapset/signal.stp
index 02c761c3..2e10af0c 100644
--- a/tapset/signal.stp
+++ b/tapset/signal.stp
@@ -414,7 +414,7 @@ probe signal.syskill.return = syscall.kill.return
*
* The <command>tkill</command> call is analogous to <command>kill(2)</command>,
* except that it also allows a process within a specific thread group to
- * be targetted. Such processes are targetted through their unique
+ * be targeted. Such processes are targeted through their unique
* thread IDs (TID).
*/
probe signal.systkill = syscall.tkill
@@ -632,7 +632,7 @@ probe signal.procmask.return = kernel.function("sigprocmask").return
/**
- * probe signal.flush - Flusing all pending signals for a task
+ * probe signal.flush - Flushing all pending signals for a task
* @task: The task handler of the process performing the flush
* @sig_pid: The PID of the process associated with the task
* performing the flush
diff --git a/tapset/socket.stp b/tapset/socket.stp
index de778d7c..b4d4981c 100644
--- a/tapset/socket.stp
+++ b/tapset/socket.stp
@@ -81,7 +81,7 @@ probe socket.receive = socket.recvmsg.return,
* The message sender
*
* Fires at the beginning of sending a message on a socket
- * via the the sock_sendmsg() function
+ * via the sock_sendmsg() function
*/
probe socket.sendmsg = kernel.function ("sock_sendmsg")
{
diff --git a/tapset/ucontext-symbols.stp b/tapset/ucontext-symbols.stp
index 5502f5cd..7fed71d2 100644
--- a/tapset/ucontext-symbols.stp
+++ b/tapset/ucontext-symbols.stp
@@ -9,7 +9,7 @@
// <tapsetdescription>
// User context symbol functions provide additional information about
// addresses from an application. These functions can provide
-// information about the user space map (library) that the event occured or
+// information about the user space map (library) that the event occurred or
// the function symbol of an address.
// </tapsetdescription>
@@ -43,7 +43,7 @@ function usymname:string (addr: long) %{ /* pure */
* given address in the current task if known, plus the module name
* (between brackets) and the offset inside the module (shared library),
* plus the size of the symbol function. If any element is not known it
- * will be ommitted and if the symbol name is unknown it will return the
+ * will be omitted and if the symbol name is unknown it will return the
* hex string for the given address.
*/
function usymdata:string (addr: long) %{ /* pure */
@@ -53,7 +53,7 @@ function usymdata:string (addr: long) %{ /* pure */
/**
* sfunction print_ustack - Print out stack for the current task from string. EXPERIMENTAL!
- * @stk: String with list of hexidecimal addresses for the current task.
+ * @stk: String with list of hexadecimal addresses for the current task.
*
* Perform a symbolic lookup of the addresses in the given string,
* which is assumed to be the result of a prior call to