<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>SystemTap Tapset Reference Manual</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="next" href="introduction.html" title="Chapter 1. Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SystemTap Tapset Reference Manual</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td></tr></table><hr></div><div class="book" title="SystemTap Tapset Reference Manual"><div class="titlepage"><div><div><h1 class="title"><a name="TapsetRef"></a>SystemTap Tapset Reference Manual</h1></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="othername">SystemTap</span></h3><span class="contrib">Hackers</span> </div></div></div><div><p class="copyright">Copyright © 2008-2011 Red Hat, Inc. and others</p></div><div><div class="legalnotice" title="Legal Notice"><a name="id511528"></a><p> This documentation is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. </p><p> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. </p><p> You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. </p><p> For more details see the file COPYING in the source distribution of Linux. </p></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="introduction.html">1. Introduction</a></span></dt><dd><dl><dt><span class="section"><a href="introduction.html#format">Tapset Name Format</a></span></dt></dl></dd><dt><span class="chapter"><a href="context_stp.html">2. Context Functions</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-print-regs.html"><span>function::print_regs</span></a></span><span class="refpurpose"> — Print a register dump </span></dt><dt><span class="refentrytitle"><a href="API-execname.html"><span>function::execname</span></a></span><span class="refpurpose"> — Returns the execname of a target process (or group of processes) </span></dt><dt><span class="refentrytitle"><a href="API-pid.html"><span>function::pid</span></a></span><span class="refpurpose"> — Returns the ID of a target process </span></dt><dt><span class="refentrytitle"><a href="API-tid.html"><span>function::tid</span></a></span><span class="refpurpose"> — Returns the thread ID of a target process </span></dt><dt><span class="refentrytitle"><a href="API-ppid.html"><span>function::ppid</span></a></span><span class="refpurpose"> — Returns the process ID of a target process's parent process </span></dt><dt><span class="refentrytitle"><a href="API-pgrp.html"><span>function::pgrp</span></a></span><span class="refpurpose"> — Returns the process group ID of the current process </span></dt><dt><span class="refentrytitle"><a href="API-sid.html"><span>function::sid</span></a></span><span class="refpurpose"> — Returns the session ID of the current process </span></dt><dt><span class="refentrytitle"><a href="API-pexecname.html"><span>function::pexecname</span></a></span><span class="refpurpose"> — Returns the execname of a target process's parent process </span></dt><dt><span class="refentrytitle"><a href="API-gid.html"><span>function::gid</span></a></span><span class="refpurpose"> — Returns the group ID of a target process </span></dt><dt><span class="refentrytitle"><a href="API-egid.html"><span>function::egid</span></a></span><span class="refpurpose"> — Returns the effective gid of a target process </span></dt><dt><span class="refentrytitle"><a href="API-uid.html"><span>function::uid</span></a></span><span class="refpurpose"> — Returns the user ID of a target process </span></dt><dt><span class="refentrytitle"><a href="API-euid.html"><span>function::euid</span></a></span><span class="refpurpose"> — Return the effective uid of a target process </span></dt><dt><span class="refentrytitle"><a href="API-is-myproc.html"><span>function::is_myproc</span></a></span><span class="refpurpose"> — Determines if the current probe point has occurred in the user's own process </span></dt><dt><span class="refentrytitle"><a href="API-cpuid.html"><span>function::cpuid</span></a></span><span class="refpurpose"> — Returns the current cpu number </span></dt><dt><span class="refentrytitle"><a href="API-cpu.html"><span>function::cpu</span></a></span><span class="refpurpose"> — Returns the current cpu number </span></dt><dt><span class="refentrytitle"><a href="API-pp.html"><span>function::pp</span></a></span><span class="refpurpose"> — Returns the active probe point </span></dt><dt><span class="refentrytitle"><a href="API-registers-valid.html"><span>function::registers_valid</span></a></span><span class="refpurpose"> — Determines validity of <code class="function">register</code> and <code class="function">u_register</code> in current context </span></dt><dt><span class="refentrytitle"><a href="API-user-mode.html"><span>function::user_mode</span></a></span><span class="refpurpose"> — Determines if probe point occurs in user-mode </span></dt><dt><span class="refentrytitle"><a href="API-is-return.html"><span>function::is_return</span></a></span><span class="refpurpose"> — Whether the current probe context is a return probe </span></dt><dt><span class="refentrytitle"><a href="API-target.html"><span>function::target</span></a></span><span class="refpurpose"> — Return the process ID of the target process </span></dt><dt><span class="refentrytitle"><a href="API-module-name.html"><span>function::module_name</span></a></span><span class="refpurpose"> — The module name of the current script </span></dt><dt><span class="refentrytitle"><a href="API-stp-pid.html"><span>function::stp_pid</span></a></span><span class="refpurpose"> — The process id of the stapio process </span></dt><dt><span class="refentrytitle"><a href="API-stack-size.html"><span>function::stack_size</span></a></span><span class="refpurpose"> — Return the size of the kernel stack </span></dt><dt><span class="refentrytitle"><a href="API-stack-used.html"><span>function::stack_used</span></a></span><span class="refpurpose"> — Returns the amount of kernel stack used </span></dt><dt><span class="refentrytitle"><a href="API-stack-unused.html"><span>function::stack_unused</span></a></span><span class="refpurpose"> — Returns the amount of kernel stack currently available </span></dt><dt><span class="refentrytitle"><a href="API-addr.html"><span>function::addr</span></a></span><span class="refpurpose"> — Address of the current probe point. </span></dt><dt><span class="refentrytitle"><a href="API-uaddr.html"><span>function::uaddr</span></a></span><span class="refpurpose"> — User space address of current running task (EXPERIMENTAL) </span></dt><dt><span class="refentrytitle"><a href="API-cmdline-args.html"><span>function::cmdline_args</span></a></span><span class="refpurpose"> — Fetch command line arguments from current process </span></dt><dt><span class="refentrytitle"><a href="API-cmdline-arg.html"><span>function::cmdline_arg</span></a></span><span class="refpurpose"> — Fetch a command line argument </span></dt><dt><span class="refentrytitle"><a href="API-cmdline-str.html"><span>function::cmdline_str</span></a></span><span class="refpurpose"> — Fetch all command line arguments from current process </span></dt><dt><span class="refentrytitle"><a href="API-env-var.html"><span>function::env_var</span></a></span><span class="refpurpose"> — Fetch environment variable from current process </span></dt><dt><span class="refentrytitle"><a href="API-print-stack.html"><span>function::print_stack</span></a></span><span class="refpurpose"> — Print out kernel stack from string </span></dt><dt><span class="refentrytitle"><a href="API-sprint-stack.html"><span>function::sprint_stack</span></a></span><span class="refpurpose"> — Return stack for kernel addresses from string (EXPERIMENTAL) </span></dt><dt><span class="refentrytitle"><a href="API-probefunc.html"><span>function::probefunc</span></a></span><span class="refpurpose"> — Return the probe point's function name, if known </span></dt><dt><span class="refentrytitle"><a href="API-probemod.html"><span>function::probemod</span></a></span><span class="refpurpose"> — Return the probe point's kernel module name </span></dt><dt><span class="refentrytitle"><a href="API-modname.html"><span>function::modname</span></a></span><span class="refpurpose"> — Return the kernel module name loaded at the address </span></dt><dt><span class="refentrytitle"><a href="API-symname.html"><span>function::symname</span></a></span><span class="refpurpose"> — Return the kernel symbol associated with the given address </span></dt><dt><span class="refentrytitle"><a href="API-symdata.html"><span>function::symdata</span></a></span><span class="refpurpose"> — Return the kernel symbol and module offset for the address </span></dt><dt><span class="refentrytitle"><a href="API-umodname.html"><span>function::umodname</span></a></span><span class="refpurpose"> — Returns the (short) name of the user module. EXPERIMENTAL! </span></dt><dt><span class="refentrytitle"><a href="API-usymname.html"><span>function::usymname</span></a></span><span class="refpurpose"> — Return the symbol of an address in the current task. EXPERIMENTAL! </span></dt><dt><span class="refentrytitle"><a href="API-usymdata.html"><span>function::usymdata</span></a></span><span class="refpurpose"> — Return the symbol and module offset of an address. EXPERIMENTAL! </span></dt><dt><span class="refentrytitle"><a href="API-print-ustack.html"><span>function::print_ustack</span></a></span><span class="refpurpose"> — Print out stack for the current task from string. EXPERIMENTAL! </span></dt><dt><span class="refentrytitle"><a href="API-sprint-ustack.html"><span>function::sprint_ustack</span></a></span><span class="refpurpose"> — Return stack for the current task from string. EXPERIMENTAL! </span></dt><dt><span class="refentrytitle"><a href="API-print-backtrace.html"><span>function::print_backtrace</span></a></span><span class="refpurpose"> — Print stack back trace </span></dt><dt><span class="refentrytitle"><a href="API-sprint-backtrace.html"><span>function::sprint_backtrace</span></a></span><span class="refpurpose"> — Return stack back trace as string (EXPERIMENTAL) </span></dt><dt><span class="refentrytitle"><a href="API-backtrace.html"><span>function::backtrace</span></a></span><span class="refpurpose"> — Hex backtrace of current stack </span></dt><dt><span class="refentrytitle"><a href="API-task-backtrace.html"><span>function::task_backtrace</span></a></span><span class="refpurpose"> — Hex backtrace of an arbitrary task </span></dt><dt><span class="refentrytitle"><a href="API-caller.html"><span>function::caller</span></a></span><span class="refpurpose"> — Return name and address of calling function </span></dt><dt><span class="refentrytitle"><a href="API-caller-addr.html"><span>function::caller_addr</span></a></span><span class="refpurpose"> — Return caller address </span></dt><dt><span class="refentrytitle"><a href="API-print-ubacktrace.html"><span>function::print_ubacktrace</span></a></span><span class="refpurpose"> — Print stack back trace for current task. EXPERIMENTAL! </span></dt><dt><span class="refentrytitle"><a href="API-sprint-ubacktrace.html"><span>function::sprint_ubacktrace</span></a></span><span class="refpurpose"> — Return stack back trace for current task as string. EXPERIMENTAL! </span></dt><dt><span class="refentrytitle"><a href="API-print-ubacktrace-brief.html"><span>function::print_ubacktrace_brief</span></a></span><span class="refpurpose"> — Print stack back trace for current task. EXPERIMENTAL! </span></dt><dt><span class="refentrytitle"><a href="API-ubacktrace.html"><span>function::ubacktrace</span></a></span><span class="refpurpose"> — Hex backtrace of current task stack. EXPERIMENTAL! </span></dt><dt><span class="refentrytitle"><a href="API-task-current.html"><span>function::task_current</span></a></span><span class="refpurpose"> — The current task_struct of the current task </span></dt><dt><span class="refentrytitle"><a href="API-task-parent.html"><span>function::task_parent</span></a></span><span class="refpurpose"> — The task_struct of the parent task </span></dt><dt><span class="refentrytitle"><a href="API-task-state.html"><span>function::task_state</span></a></span><span class="refpurpose"> — The state of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-execname.html"><span>function::task_execname</span></a></span><span class="refpurpose"> — The name of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-pid.html"><span>function::task_pid</span></a></span><span class="refpurpose"> — The process identifier of the task </span></dt><dt><span class="refentrytitle"><a href="API-pid2task.html"><span>function::pid2task</span></a></span><span class="refpurpose"> — The task_struct of the given process identifier </span></dt><dt><span class="refentrytitle"><a href="API-pid2execname.html"><span>function::pid2execname</span></a></span><span class="refpurpose"> — The name of the given process identifier </span></dt><dt><span class="refentrytitle"><a href="API-task-tid.html"><span>function::task_tid</span></a></span><span class="refpurpose"> — The thread identifier of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-gid.html"><span>function::task_gid</span></a></span><span class="refpurpose"> — The group identifier of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-egid.html"><span>function::task_egid</span></a></span><span class="refpurpose"> — The effective group identifier of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-uid.html"><span>function::task_uid</span></a></span><span class="refpurpose"> — The user identifier of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-euid.html"><span>function::task_euid</span></a></span><span class="refpurpose"> — The effective user identifier of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-prio.html"><span>function::task_prio</span></a></span><span class="refpurpose"> — The priority value of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-nice.html"><span>function::task_nice</span></a></span><span class="refpurpose"> — The nice value of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-cpu.html"><span>function::task_cpu</span></a></span><span class="refpurpose"> — The scheduled cpu of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-open-file-handles.html"><span>function::task_open_file_handles</span></a></span><span class="refpurpose"> — The number of open files of the task </span></dt><dt><span class="refentrytitle"><a href="API-task-max-file-handles.html"><span>function::task_max_file_handles</span></a></span><span class="refpurpose"> — The max number of open files for the task </span></dt><dt><span class="refentrytitle"><a href="API-pn.html"><span>function::pn</span></a></span><span class="refpurpose"> — Returns the active probe name </span></dt></dl></dd><dt><span class="chapter"><a href="timestamp_stp.html">3. Timestamp Functions</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-get-cycles.html"><span>function::get_cycles</span></a></span><span class="refpurpose"> — Processor cycle count </span></dt><dt><span class="refentrytitle"><a href="API-jiffies.html"><span>function::jiffies</span></a></span><span class="refpurpose"> — Kernel jiffies count </span></dt><dt><span class="refentrytitle"><a href="API-HZ.html"><span>function::HZ</span></a></span><span class="refpurpose"> — Kernel HZ </span></dt><dt><span class="refentrytitle"><a href="API-gettimeofday-ns.html"><span>function::gettimeofday_ns</span></a></span><span class="refpurpose"> — Number of nanoseconds since UNIX epoch </span></dt><dt><span class="refentrytitle"><a href="API-gettimeofday-us.html"><span>function::gettimeofday_us</span></a></span><span class="refpurpose"> — Number of microseconds since UNIX epoch </span></dt><dt><span class="refentrytitle"><a href="API-gettimeofday-ms.html"><span>function::gettimeofday_ms</span></a></span><span class="refpurpose"> — Number of milliseconds since UNIX epoch </span></dt><dt><span class="refentrytitle"><a href="API-gettimeofday-s.html"><span>function::gettimeofday_s</span></a></span><span class="refpurpose"> — Number of seconds since UNIX epoch </span></dt></dl></dd><dt><span class="chapter"><a href="ctime.stp.html">4. Time utility functions</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-ctime.html"><span>function::ctime</span></a></span><span class="refpurpose"> — Convert seconds since epoch into human readable date/time string </span></dt><dt><span class="refentrytitle"><a href="API-tz-gmtoff.html"><span>function::tz_gmtoff</span></a></span><span class="refpurpose"> — Return local time zone offset </span></dt><dt><span class="refentrytitle"><a href="API-tz-name.html"><span>function::tz_name</span></a></span><span class="refpurpose"> — Return local time zone name </span></dt><dt><span class="refentrytitle"><a href="API-tz-ctime.html"><span>function::tz_ctime</span></a></span><span class="refpurpose"> — Convert seconds since epoch into human readable date/time string, with local time zone </span></dt></dl></dd><dt><span class="chapter"><a href="system.stp.html">5. Time utility functions</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-system.html"><span>function::system</span></a></span><span class="refpurpose"> — Issue a command to the system </span></dt></dl></dd><dt><span class="chapter"><a href="memory_stp.html">6. Memory Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-vm-fault-contains.html"><span>function::vm_fault_contains</span></a></span><span class="refpurpose"> — Test return value for page fault reason </span></dt><dt><span class="refentrytitle"><a href="API-vm-pagefault.html"><span>probe::vm.pagefault</span></a></span><span class="refpurpose"> — Records that a page fault occurred </span></dt><dt><span class="refentrytitle"><a href="API-vm-pagefault-return.html"><span>probe::vm.pagefault.return</span></a></span><span class="refpurpose"> — Indicates what type of fault occurred </span></dt><dt><span class="refentrytitle"><a href="API-addr-to-node.html"><span>function::addr_to_node</span></a></span><span class="refpurpose"> — Returns which node a given address belongs to within a NUMA system </span></dt><dt><span class="refentrytitle"><a href="API-vm-write-shared.html"><span>probe::vm.write_shared</span></a></span><span class="refpurpose"> — Attempts at writing to a shared page </span></dt><dt><span class="refentrytitle"><a href="API-vm-write-shared-copy.html"><span>probe::vm.write_shared_copy</span></a></span><span class="refpurpose"> — Page copy for shared page write </span></dt><dt><span class="refentrytitle"><a href="API-vm-mmap.html"><span>probe::vm.mmap</span></a></span><span class="refpurpose"> — Fires when an mmap is requested </span></dt><dt><span class="refentrytitle"><a href="API-vm-munmap.html"><span>probe::vm.munmap</span></a></span><span class="refpurpose"> — Fires when an munmap is requested </span></dt><dt><span class="refentrytitle"><a href="API-vm-brk.html"><span>probe::vm.brk</span></a></span><span class="refpurpose"> — Fires when a brk is requested (i.e. the heap will be resized) </span></dt><dt><span class="refentrytitle"><a href="API-vm-oom-kill.html"><span>probe::vm.oom_kill</span></a></span><span class="refpurpose"> — Fires when a thread is selected for termination by the OOM killer </span></dt><dt><span class="refentrytitle"><a href="API-vm-kmalloc.html"><span>probe::vm.kmalloc</span></a></span><span class="refpurpose"> — Fires when kmalloc is requested </span></dt><dt><span class="refentrytitle"><a href="API-vm-kmem-cache-alloc.html"><span>probe::vm.kmem_cache_alloc</span></a></span><span class="refpurpose"> — Fires when kmem_cache_alloc is requested </span></dt><dt><span class="refentrytitle"><a href="API-vm-kmalloc-node.html"><span>probe::vm.kmalloc_node</span></a></span><span class="refpurpose"> — Fires when kmalloc_node is requested </span></dt><dt><span class="refentrytitle"><a href="API-vm-kmem-cache-alloc-node.html"><span>probe::vm.kmem_cache_alloc_node</span></a></span><span class="refpurpose"> — Fires when kmem_cache_alloc_node is requested </span></dt><dt><span class="refentrytitle"><a href="API-vm-kfree.html"><span>probe::vm.kfree</span></a></span><span class="refpurpose"> — Fires when kfree is requested </span></dt><dt><span class="refentrytitle"><a href="API-vm-kmem-cache-free.html"><span>probe::vm.kmem_cache_free</span></a></span><span class="refpurpose"> — Fires when kmem_cache_free is requested </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-size.html"><span>function::proc_mem_size</span></a></span><span class="refpurpose"> — Total program virtual memory size in pages </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-size-pid.html"><span>function::proc_mem_size_pid</span></a></span><span class="refpurpose"> — Total program virtual memory size in pages </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-rss.html"><span>function::proc_mem_rss</span></a></span><span class="refpurpose"> — Program resident set size in pages </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-rss-pid.html"><span>function::proc_mem_rss_pid</span></a></span><span class="refpurpose"> — Program resident set size in pages </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-shr.html"><span>function::proc_mem_shr</span></a></span><span class="refpurpose"> — Program shared pages (from shared mappings) </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-shr-pid.html"><span>function::proc_mem_shr_pid</span></a></span><span class="refpurpose"> — Program shared pages (from shared mappings) </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-txt.html"><span>function::proc_mem_txt</span></a></span><span class="refpurpose"> — Program text (code) size in pages </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-txt-pid.html"><span>function::proc_mem_txt_pid</span></a></span><span class="refpurpose"> — Program text (code) size in pages </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-data.html"><span>function::proc_mem_data</span></a></span><span class="refpurpose"> — Program data size (data + stack) in pages </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-data-pid.html"><span>function::proc_mem_data_pid</span></a></span><span class="refpurpose"> — Program data size (data + stack) in pages </span></dt><dt><span class="refentrytitle"><a href="API-mem-page-size.html"><span>function::mem_page_size</span></a></span><span class="refpurpose"> — Number of bytes in a page for this architecture </span></dt><dt><span class="refentrytitle"><a href="API-bytes-to-string.html"><span>function::bytes_to_string</span></a></span><span class="refpurpose"> — Human readable string for given bytes </span></dt><dt><span class="refentrytitle"><a href="API-pages-to-string.html"><span>function::pages_to_string</span></a></span><span class="refpurpose"> — Turns pages into a human readable string </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-string.html"><span>function::proc_mem_string</span></a></span><span class="refpurpose"> — Human readable string of current proc memory usage </span></dt><dt><span class="refentrytitle"><a href="API-proc-mem-string-pid.html"><span>function::proc_mem_string_pid</span></a></span><span class="refpurpose"> — Human readable string of process memory usage </span></dt></dl></dd><dt><span class="chapter"><a href="task_time_stp.html">7. Task Time Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-task-utime.html"><span>function::task_utime</span></a></span><span class="refpurpose"> — User time of the current task </span></dt><dt><span class="refentrytitle"><a href="API-task-utime-tid.html"><span>function::task_utime_tid</span></a></span><span class="refpurpose"> — User time of the given task </span></dt><dt><span class="refentrytitle"><a href="API-task-stime.html"><span>function::task_stime</span></a></span><span class="refpurpose"> — System time of the current task </span></dt><dt><span class="refentrytitle"><a href="API-task-stime-tid.html"><span>function::task_stime_tid</span></a></span><span class="refpurpose"> — System time of the given task </span></dt><dt><span class="refentrytitle"><a href="API-cputime-to-msecs.html"><span>function::cputime_to_msecs</span></a></span><span class="refpurpose"> — Translates the given cputime into milliseconds </span></dt><dt><span class="refentrytitle"><a href="API-msecs-to-string.html"><span>function::msecs_to_string</span></a></span><span class="refpurpose"> — Human readable string for given milliseconds </span></dt><dt><span class="refentrytitle"><a href="API-cputime-to-string.html"><span>function::cputime_to_string</span></a></span><span class="refpurpose"> — Human readable string for given cputime </span></dt><dt><span class="refentrytitle"><a href="API-task-time-string.html"><span>function::task_time_string</span></a></span><span class="refpurpose"> — Human readable string of task time usage </span></dt><dt><span class="refentrytitle"><a href="API-task-time-string-tid.html"><span>function::task_time_string_tid</span></a></span><span class="refpurpose"> — Human readable string of task time usage </span></dt></dl></dd><dt><span class="chapter"><a href="sched.stp.html">8. Scheduler Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-scheduler-ctxswitch.html"><span>probe::scheduler.ctxswitch</span></a></span><span class="refpurpose"> — A context switch is occuring. </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-kthread-stop.html"><span>probe::scheduler.kthread_stop</span></a></span><span class="refpurpose"> — A thread created by kthread_create is being stopped </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-kthread-stop-return.html"><span>probe::scheduler.kthread_stop.return</span></a></span><span class="refpurpose"> — A kthread is stopped and gets the return value </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-wait-task.html"><span>probe::scheduler.wait_task</span></a></span><span class="refpurpose"> — Waiting on a task to unschedule (become inactive) </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-wakeup.html"><span>probe::scheduler.wakeup</span></a></span><span class="refpurpose"> — Task is woken up </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-wakeup-new.html"><span>probe::scheduler.wakeup_new</span></a></span><span class="refpurpose"> — Newly created task is woken up for the first time </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-migrate.html"><span>probe::scheduler.migrate</span></a></span><span class="refpurpose"> — Task migrating across cpus </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-process-free.html"><span>probe::scheduler.process_free</span></a></span><span class="refpurpose"> — Scheduler freeing a data structure for a process </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-process-exit.html"><span>probe::scheduler.process_exit</span></a></span><span class="refpurpose"> — Process exiting </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-process-wait.html"><span>probe::scheduler.process_wait</span></a></span><span class="refpurpose"> — Scheduler starting to wait on a process </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-process-fork.html"><span>probe::scheduler.process_fork</span></a></span><span class="refpurpose"> — Process forked </span></dt><dt><span class="refentrytitle"><a href="API-scheduler-signal-send.html"><span>probe::scheduler.signal_send</span></a></span><span class="refpurpose"> — Sending a signal </span></dt></dl></dd><dt><span class="chapter"><a href="iosched.stp.html">9. IO Scheduler and block IO Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-ioscheduler-elv-next-request.html"><span>probe::ioscheduler.elv_next_request</span></a></span><span class="refpurpose"> — Fires when a request is retrieved from the request queue </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-elv-next-request-return.html"><span>probe::ioscheduler.elv_next_request.return</span></a></span><span class="refpurpose"> — Fires when a request retrieval issues a return signal </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-elv-completed-request.html"><span>probe::ioscheduler.elv_completed_request</span></a></span><span class="refpurpose"> — Fires when a request is completed </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-elv-add-request-kp.html"><span>probe::ioscheduler.elv_add_request.kp</span></a></span><span class="refpurpose"> — kprobe based probe to indicate that a request was added to the request queue </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-elv-add-request-tp.html"><span>probe::ioscheduler.elv_add_request.tp</span></a></span><span class="refpurpose"> — tracepoint based probe to indicate a request is added to the request queue. </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-elv-add-request.html"><span>probe::ioscheduler.elv_add_request</span></a></span><span class="refpurpose"> — probe to indicate request is added to the request queue. </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-trace-elv-completed-request.html"><span>probe::ioscheduler_trace.elv_completed_request</span></a></span><span class="refpurpose"> — Fires when a request is </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-trace-elv-issue-request.html"><span>probe::ioscheduler_trace.elv_issue_request</span></a></span><span class="refpurpose"> — Fires when a request is </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-trace-elv-requeue-request.html"><span>probe::ioscheduler_trace.elv_requeue_request</span></a></span><span class="refpurpose"> — Fires when a request is </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-trace-elv-abort-request.html"><span>probe::ioscheduler_trace.elv_abort_request</span></a></span><span class="refpurpose"> — Fires when a request is aborted. </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-trace-plug.html"><span>probe::ioscheduler_trace.plug</span></a></span><span class="refpurpose"> — Fires when a request queue is plugged; </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-trace-unplug-io.html"><span>probe::ioscheduler_trace.unplug_io</span></a></span><span class="refpurpose"> — Fires when a request queue is unplugged; </span></dt><dt><span class="refentrytitle"><a href="API-ioscheduler-trace-unplug-timer.html"><span>probe::ioscheduler_trace.unplug_timer</span></a></span><span class="refpurpose"> — Fires when unplug timer associated </span></dt><dt><span class="refentrytitle"><a href="API-ioblock-request.html"><span>probe::ioblock.request</span></a></span><span class="refpurpose"> — Fires whenever making a generic block I/O request. </span></dt><dt><span class="refentrytitle"><a href="API-ioblock-end.html"><span>probe::ioblock.end</span></a></span><span class="refpurpose"> — Fires whenever a block I/O transfer is complete. </span></dt><dt><span class="refentrytitle"><a href="API-ioblock-trace-bounce.html"><span>probe::ioblock_trace.bounce</span></a></span><span class="refpurpose"> — Fires whenever a buffer bounce is needed for at least one page of a block IO request. </span></dt><dt><span class="refentrytitle"><a href="API-ioblock-trace-request.html"><span>probe::ioblock_trace.request</span></a></span><span class="refpurpose"> — Fires just as a generic block I/O request is created for a bio. </span></dt><dt><span class="refentrytitle"><a href="API-ioblock-trace-end.html"><span>probe::ioblock_trace.end</span></a></span><span class="refpurpose"> — Fires whenever a block I/O transfer is complete. </span></dt></dl></dd><dt><span class="chapter"><a href="scsi.stp.html">10. SCSI Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-scsi-ioentry.html"><span>probe::scsi.ioentry</span></a></span><span class="refpurpose"> — Prepares a SCSI mid-layer request </span></dt><dt><span class="refentrytitle"><a href="API-scsi-iodispatching.html"><span>probe::scsi.iodispatching</span></a></span><span class="refpurpose"> — SCSI mid-layer dispatched low-level SCSI command </span></dt><dt><span class="refentrytitle"><a href="API-scsi-iodone.html"><span>probe::scsi.iodone</span></a></span><span class="refpurpose"> — SCSI command completed by low level driver and enqueued into the done queue. </span></dt><dt><span class="refentrytitle"><a href="API-scsi-iocompleted.html"><span>probe::scsi.iocompleted</span></a></span><span class="refpurpose"> — SCSI mid-layer running the completion processing for block device I/O requests </span></dt><dt><span class="refentrytitle"><a href="API-scsi-ioexecute.html"><span>probe::scsi.ioexecute</span></a></span><span class="refpurpose"> — Create mid-layer SCSI request and wait for the result </span></dt><dt><span class="refentrytitle"><a href="API-scsi-set-state.html"><span>probe::scsi.set_state</span></a></span><span class="refpurpose"> — Order SCSI device state change </span></dt></dl></dd><dt><span class="chapter"><a href="tty.stp.html">11. TTY Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-tty-open.html"><span>probe::tty.open</span></a></span><span class="refpurpose"> — Called when a tty is opened </span></dt><dt><span class="refentrytitle"><a href="API-tty-release.html"><span>probe::tty.release</span></a></span><span class="refpurpose"> — Called when the tty is closed </span></dt><dt><span class="refentrytitle"><a href="API-tty-resize.html"><span>probe::tty.resize</span></a></span><span class="refpurpose"> — Called when a terminal resize happens </span></dt><dt><span class="refentrytitle"><a href="API-tty-ioctl.html"><span>probe::tty.ioctl</span></a></span><span class="refpurpose"> — called when a ioctl is request to the tty </span></dt><dt><span class="refentrytitle"><a href="API-tty-init.html"><span>probe::tty.init</span></a></span><span class="refpurpose"> — Called when a tty is being initalized </span></dt><dt><span class="refentrytitle"><a href="API-tty-register.html"><span>probe::tty.register</span></a></span><span class="refpurpose"> — Called when a tty device is registred </span></dt><dt><span class="refentrytitle"><a href="API-tty-unregister.html"><span>probe::tty.unregister</span></a></span><span class="refpurpose"> — Called when a tty device is being unregistered </span></dt><dt><span class="refentrytitle"><a href="API-tty-poll.html"><span>probe::tty.poll</span></a></span><span class="refpurpose"> — Called when a tty device is being polled </span></dt><dt><span class="refentrytitle"><a href="API-tty-receive.html"><span>probe::tty.receive</span></a></span><span class="refpurpose"> — called when a tty receives a message </span></dt><dt><span class="refentrytitle"><a href="API-tty-write.html"><span>probe::tty.write</span></a></span><span class="refpurpose"> — write to the tty line </span></dt><dt><span class="refentrytitle"><a href="API-tty-read.html"><span>probe::tty.read</span></a></span><span class="refpurpose"> — called when a tty line will be read </span></dt></dl></dd><dt><span class="chapter"><a href="irq.stp.html">12. Interrupt Request (IRQ) Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-workqueue-create.html"><span>probe::workqueue.create</span></a></span><span class="refpurpose"> — Creating a new workqueue </span></dt><dt><span class="refentrytitle"><a href="API-workqueue-insert.html"><span>probe::workqueue.insert</span></a></span><span class="refpurpose"> — Queuing work on a workqueue </span></dt><dt><span class="refentrytitle"><a href="API-workqueue-execute.html"><span>probe::workqueue.execute</span></a></span><span class="refpurpose"> — Executing deferred work </span></dt><dt><span class="refentrytitle"><a href="API-workqueue-destroy.html"><span>probe::workqueue.destroy</span></a></span><span class="refpurpose"> — Destroying workqueue </span></dt><dt><span class="refentrytitle"><a href="API-irq-handler-entry.html"><span>probe::irq_handler.entry</span></a></span><span class="refpurpose"> — Execution of interrupt handler starting </span></dt><dt><span class="refentrytitle"><a href="API-irq-handler-exit.html"><span>probe::irq_handler.exit</span></a></span><span class="refpurpose"> — Execution of interrupt handler completed </span></dt><dt><span class="refentrytitle"><a href="API-softirq-entry.html"><span>probe::softirq.entry</span></a></span><span class="refpurpose"> — Execution of handler for a pending softirq starting </span></dt><dt><span class="refentrytitle"><a href="API-softirq-exit.html"><span>probe::softirq.exit</span></a></span><span class="refpurpose"> — Execution of handler for a pending softirq completed </span></dt></dl></dd><dt><span class="chapter"><a href="networking.stp.html">13. Networking Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-netdev-receive.html"><span>probe::netdev.receive</span></a></span><span class="refpurpose"> — Data received from network device. </span></dt><dt><span class="refentrytitle"><a href="API-netdev-transmit.html"><span>probe::netdev.transmit</span></a></span><span class="refpurpose"> — Network device transmitting buffer </span></dt><dt><span class="refentrytitle"><a href="API-netdev-change-mtu.html"><span>probe::netdev.change_mtu</span></a></span><span class="refpurpose"> — Called when the netdev MTU is changed </span></dt><dt><span class="refentrytitle"><a href="API-netdev-open.html"><span>probe::netdev.open</span></a></span><span class="refpurpose"> — Called when the device is opened </span></dt><dt><span class="refentrytitle"><a href="API-netdev-close.html"><span>probe::netdev.close</span></a></span><span class="refpurpose"> — Called when the device is closed </span></dt><dt><span class="refentrytitle"><a href="API-netdev-hard-transmit.html"><span>probe::netdev.hard_transmit</span></a></span><span class="refpurpose"> — Called when the devices is going to TX (hard) </span></dt><dt><span class="refentrytitle"><a href="API-netdev-rx.html"><span>probe::netdev.rx</span></a></span><span class="refpurpose"> — Called when the device is going to receive a packet </span></dt><dt><span class="refentrytitle"><a href="API-netdev-change-rx-flag.html"><span>probe::netdev.change_rx_flag</span></a></span><span class="refpurpose"> — Called when the device RX flag will be changed </span></dt><dt><span class="refentrytitle"><a href="API-netdev-set-promiscuity.html"><span>probe::netdev.set_promiscuity</span></a></span><span class="refpurpose"> — Called when the device enters/leaves promiscuity </span></dt><dt><span class="refentrytitle"><a href="API-netdev-ioctl.html"><span>probe::netdev.ioctl</span></a></span><span class="refpurpose"> — Called when the device suffers an IOCTL </span></dt><dt><span class="refentrytitle"><a href="API-netdev-register.html"><span>probe::netdev.register</span></a></span><span class="refpurpose"> — Called when the device is registered </span></dt><dt><span class="refentrytitle"><a href="API-netdev-unregister.html"><span>probe::netdev.unregister</span></a></span><span class="refpurpose"> — Called when the device is being unregistered </span></dt><dt><span class="refentrytitle"><a href="API-netdev-get-stats.html"><span>probe::netdev.get_stats</span></a></span><span class="refpurpose"> — Called when someone asks the device statistics </span></dt><dt><span class="refentrytitle"><a href="API-netdev-change-mac.html"><span>probe::netdev.change_mac</span></a></span><span class="refpurpose"> — Called when the netdev_name has the MAC changed </span></dt><dt><span class="refentrytitle"><a href="API-tcp-sendmsg.html"><span>probe::tcp.sendmsg</span></a></span><span class="refpurpose"> — Sending a tcp message </span></dt><dt><span class="refentrytitle"><a href="API-tcp-sendmsg-return.html"><span>probe::tcp.sendmsg.return</span></a></span><span class="refpurpose"> — Sending TCP message is done </span></dt><dt><span class="refentrytitle"><a href="API-tcp-recvmsg.html"><span>probe::tcp.recvmsg</span></a></span><span class="refpurpose"> — Receiving TCP message </span></dt><dt><span class="refentrytitle"><a href="API-tcp-recvmsg-return.html"><span>probe::tcp.recvmsg.return</span></a></span><span class="refpurpose"> — Receiving TCP message complete </span></dt><dt><span class="refentrytitle"><a href="API-tcp-disconnect.html"><span>probe::tcp.disconnect</span></a></span><span class="refpurpose"> — TCP socket disconnection </span></dt><dt><span class="refentrytitle"><a href="API-tcp-disconnect-return.html"><span>probe::tcp.disconnect.return</span></a></span><span class="refpurpose"> — TCP socket disconnection complete </span></dt><dt><span class="refentrytitle"><a href="API-tcp-setsockopt.html"><span>probe::tcp.setsockopt</span></a></span><span class="refpurpose"> — Call to <code class="function">setsockopt</code> </span></dt><dt><span class="refentrytitle"><a href="API-tcp-setsockopt-return.html"><span>probe::tcp.setsockopt.return</span></a></span><span class="refpurpose"> — Return from <code class="function">setsockopt</code> </span></dt><dt><span class="refentrytitle"><a href="API-tcp-receive.html"><span>probe::tcp.receive</span></a></span><span class="refpurpose"> — Called when a TCP packet is received </span></dt><dt><span class="refentrytitle"><a href="API-udp-sendmsg.html"><span>probe::udp.sendmsg</span></a></span><span class="refpurpose"> — Fires whenever a process sends a UDP message </span></dt><dt><span class="refentrytitle"><a href="API-udp-sendmsg-return.html"><span>probe::udp.sendmsg.return</span></a></span><span class="refpurpose"> — Fires whenever an attempt to send a UDP message is completed </span></dt><dt><span class="refentrytitle"><a href="API-udp-recvmsg.html"><span>probe::udp.recvmsg</span></a></span><span class="refpurpose"> — Fires whenever a UDP message is received </span></dt><dt><span class="refentrytitle"><a href="API-udp-recvmsg-return.html"><span>probe::udp.recvmsg.return</span></a></span><span class="refpurpose"> — Fires whenever an attempt to receive a UDP message received is completed </span></dt><dt><span class="refentrytitle"><a href="API-udp-disconnect.html"><span>probe::udp.disconnect</span></a></span><span class="refpurpose"> — Fires when a process requests for a UDP disconnection </span></dt><dt><span class="refentrytitle"><a href="API-udp-disconnect-return.html"><span>probe::udp.disconnect.return</span></a></span><span class="refpurpose"> — UDP has been disconnected successfully </span></dt><dt><span class="refentrytitle"><a href="API-ip-ntop.html"><span>function::ip_ntop</span></a></span><span class="refpurpose"> — returns a string representation from an integer IP number </span></dt></dl></dd><dt><span class="chapter"><a href="socket.stp.html">14. Socket Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-socket-send.html"><span>probe::socket.send</span></a></span><span class="refpurpose"> — Message sent on a socket. </span></dt><dt><span class="refentrytitle"><a href="API-socket-receive.html"><span>probe::socket.receive</span></a></span><span class="refpurpose"> — Message received on a socket. </span></dt><dt><span class="refentrytitle"><a href="API-socket-sendmsg.html"><span>probe::socket.sendmsg</span></a></span><span class="refpurpose"> — Message is currently being sent on a socket. </span></dt><dt><span class="refentrytitle"><a href="API-socket-sendmsg-return.html"><span>probe::socket.sendmsg.return</span></a></span><span class="refpurpose"> — Return from socket.sendmsg. </span></dt><dt><span class="refentrytitle"><a href="API-socket-recvmsg.html"><span>probe::socket.recvmsg</span></a></span><span class="refpurpose"> — Message being received on socket </span></dt><dt><span class="refentrytitle"><a href="API-socket-recvmsg-return.html"><span>probe::socket.recvmsg.return</span></a></span><span class="refpurpose"> — Return from Message being received on socket </span></dt><dt><span class="refentrytitle"><a href="API-socket-aio-write.html"><span>probe::socket.aio_write</span></a></span><span class="refpurpose"> — Message send via <code class="function">sock_aio_write</code> </span></dt><dt><span class="refentrytitle"><a href="API-socket-aio-write-return.html"><span>probe::socket.aio_write.return</span></a></span><span class="refpurpose"> — Conclusion of message send via <code class="function">sock_aio_write</code> </span></dt><dt><span class="refentrytitle"><a href="API-socket-aio-read.html"><span>probe::socket.aio_read</span></a></span><span class="refpurpose"> — Receiving message via <code class="function">sock_aio_read</code> </span></dt><dt><span class="refentrytitle"><a href="API-socket-aio-read-return.html"><span>probe::socket.aio_read.return</span></a></span><span class="refpurpose"> — Conclusion of message received via <code class="function">sock_aio_read</code> </span></dt><dt><span class="refentrytitle"><a href="API-socket-writev.html"><span>probe::socket.writev</span></a></span><span class="refpurpose"> — Message sent via <code class="function">socket_writev</code> </span></dt><dt><span class="refentrytitle"><a href="API-socket-writev-return.html"><span>probe::socket.writev.return</span></a></span><span class="refpurpose"> — Conclusion of message sent via <code class="function">socket_writev</code> </span></dt><dt><span class="refentrytitle"><a href="API-socket-readv.html"><span>probe::socket.readv</span></a></span><span class="refpurpose"> — Receiving a message via <code class="function">sock_readv</code> </span></dt><dt><span class="refentrytitle"><a href="API-socket-readv-return.html"><span>probe::socket.readv.return</span></a></span><span class="refpurpose"> — Conclusion of receiving a message via <code class="function">sock_readv</code> </span></dt><dt><span class="refentrytitle"><a href="API-socket-create.html"><span>probe::socket.create</span></a></span><span class="refpurpose"> — Creation of a socket </span></dt><dt><span class="refentrytitle"><a href="API-socket-create-return.html"><span>probe::socket.create.return</span></a></span><span class="refpurpose"> — Return from Creation of a socket </span></dt><dt><span class="refentrytitle"><a href="API-socket-close.html"><span>probe::socket.close</span></a></span><span class="refpurpose"> — Close a socket </span></dt><dt><span class="refentrytitle"><a href="API-socket-close-return.html"><span>probe::socket.close.return</span></a></span><span class="refpurpose"> — Return from closing a socket </span></dt><dt><span class="refentrytitle"><a href="API-sock-prot-num2str.html"><span>function::sock_prot_num2str</span></a></span><span class="refpurpose"> — Given a protocol number, return a string representation. </span></dt><dt><span class="refentrytitle"><a href="API-sock-prot-str2num.html"><span>function::sock_prot_str2num</span></a></span><span class="refpurpose"> — Given a protocol name (string), return the corresponding protocol number. </span></dt><dt><span class="refentrytitle"><a href="API-sock-fam-num2str.html"><span>function::sock_fam_num2str</span></a></span><span class="refpurpose"> — Given a protocol family number, return a string representation. </span></dt><dt><span class="refentrytitle"><a href="API-sock-fam-str2num.html"><span>function::sock_fam_str2num</span></a></span><span class="refpurpose"> — Given a protocol family name (string), return the corresponding </span></dt><dt><span class="refentrytitle"><a href="API-sock-state-num2str.html"><span>function::sock_state_num2str</span></a></span><span class="refpurpose"> — Given a socket state number, return a string representation. </span></dt><dt><span class="refentrytitle"><a href="API-sock-state-str2num.html"><span>function::sock_state_str2num</span></a></span><span class="refpurpose"> — Given a socket state string, return the corresponding state number. </span></dt></dl></dd><dt><span class="chapter"><a href="snmp.stp.html">15. SNMP Information Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-ipmib-remote-addr.html"><span>function::ipmib_remote_addr</span></a></span><span class="refpurpose"> — Get the remote ip address </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-local-addr.html"><span>function::ipmib_local_addr</span></a></span><span class="refpurpose"> — Get the local ip address </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-tcp-remote-port.html"><span>function::ipmib_tcp_remote_port</span></a></span><span class="refpurpose"> — Get the remote tcp port </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-tcp-local-port.html"><span>function::ipmib_tcp_local_port</span></a></span><span class="refpurpose"> — Get the local tcp port </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-get-proto.html"><span>function::ipmib_get_proto</span></a></span><span class="refpurpose"> — Get the protocol value </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-InReceives.html"><span>probe::ipmib.InReceives</span></a></span><span class="refpurpose"> — Count an arriving packet </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-InNoRoutes.html"><span>probe::ipmib.InNoRoutes</span></a></span><span class="refpurpose"> — Count an arriving packet with no matching socket </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-InAddrErrors.html"><span>probe::ipmib.InAddrErrors</span></a></span><span class="refpurpose"> — Count arriving packets with an incorrect address </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-InUnknownProtos.html"><span>probe::ipmib.InUnknownProtos</span></a></span><span class="refpurpose"> — Count arriving packets with an unbound proto </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-InDiscards.html"><span>probe::ipmib.InDiscards</span></a></span><span class="refpurpose"> — Count discarded inbound packets </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-ForwDatagrams.html"><span>probe::ipmib.ForwDatagrams</span></a></span><span class="refpurpose"> — Count forwarded packet </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-OutRequests.html"><span>probe::ipmib.OutRequests</span></a></span><span class="refpurpose"> — Count a request to send a packet </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-ReasmTimeout.html"><span>probe::ipmib.ReasmTimeout</span></a></span><span class="refpurpose"> — Count Reassembly Timeouts </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-ReasmReqds.html"><span>probe::ipmib.ReasmReqds</span></a></span><span class="refpurpose"> — Count number of packet fragments reassembly requests </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-FragOKs.html"><span>probe::ipmib.FragOKs</span></a></span><span class="refpurpose"> — Count datagram fragmented successfully </span></dt><dt><span class="refentrytitle"><a href="API-ipmib-FragFails.html"><span>probe::ipmib.FragFails</span></a></span><span class="refpurpose"> — Count datagram fragmented unsuccessfully </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-get-state.html"><span>function::tcpmib_get_state</span></a></span><span class="refpurpose"> — Get a socket's state </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-local-addr.html"><span>function::tcpmib_local_addr</span></a></span><span class="refpurpose"> — Get the source address </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-remote-addr.html"><span>function::tcpmib_remote_addr</span></a></span><span class="refpurpose"> — Get the remote address </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-local-port.html"><span>function::tcpmib_local_port</span></a></span><span class="refpurpose"> — Get the local port </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-remote-port.html"><span>function::tcpmib_remote_port</span></a></span><span class="refpurpose"> — Get the remote port </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-ActiveOpens.html"><span>probe::tcpmib.ActiveOpens</span></a></span><span class="refpurpose"> — Count an active opening of a socket </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-AttemptFails.html"><span>probe::tcpmib.AttemptFails</span></a></span><span class="refpurpose"> — Count a failed attempt to open a socket </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-CurrEstab.html"><span>probe::tcpmib.CurrEstab</span></a></span><span class="refpurpose"> — Update the count of open sockets </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-EstabResets.html"><span>probe::tcpmib.EstabResets</span></a></span><span class="refpurpose"> — Count the reset of a socket </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-InSegs.html"><span>probe::tcpmib.InSegs</span></a></span><span class="refpurpose"> — Count an incomming tcp segment </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-OutRsts.html"><span>probe::tcpmib.OutRsts</span></a></span><span class="refpurpose"> — Count the sending of a reset packet </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-OutSegs.html"><span>probe::tcpmib.OutSegs</span></a></span><span class="refpurpose"> — Count the sending of a TCP segment </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-PassiveOpens.html"><span>probe::tcpmib.PassiveOpens</span></a></span><span class="refpurpose"> — Count the passive creation of a socket </span></dt><dt><span class="refentrytitle"><a href="API-tcpmib-RetransSegs.html"><span>probe::tcpmib.RetransSegs</span></a></span><span class="refpurpose"> — Count the retransmission of a TCP segment </span></dt><dt><span class="refentrytitle"><a href="API-linuxmib-DelayedACKs.html"><span>probe::linuxmib.DelayedACKs</span></a></span><span class="refpurpose"> — Count of delayed acks </span></dt><dt><span class="refentrytitle"><a href="API-linuxmib-ListenOverflows.html"><span>probe::linuxmib.ListenOverflows</span></a></span><span class="refpurpose"> — Count of times a listen queue overflowed </span></dt><dt><span class="refentrytitle"><a href="API-linuxmib-ListenDrops.html"><span>probe::linuxmib.ListenDrops</span></a></span><span class="refpurpose"> — Count of times conn request that were dropped </span></dt><dt><span class="refentrytitle"><a href="API-linuxmib-TCPMemoryPressures.html"><span>probe::linuxmib.TCPMemoryPressures</span></a></span><span class="refpurpose"> — Count of times memory pressure was used </span></dt></dl></dd><dt><span class="chapter"><a href="kprocess.stp.html">16. Kernel Process Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-kprocess-create.html"><span>probe::kprocess.create</span></a></span><span class="refpurpose"> — Fires whenever a new process or thread is successfully created </span></dt><dt><span class="refentrytitle"><a href="API-kprocess-start.html"><span>probe::kprocess.start</span></a></span><span class="refpurpose"> — Starting new process </span></dt><dt><span class="refentrytitle"><a href="API-kprocess-exec.html"><span>probe::kprocess.exec</span></a></span><span class="refpurpose"> — Attempt to exec to a new program </span></dt><dt><span class="refentrytitle"><a href="API-kprocess-exec-complete.html"><span>probe::kprocess.exec_complete</span></a></span><span class="refpurpose"> — Return from exec to a new program </span></dt><dt><span class="refentrytitle"><a href="API-kprocess-exit.html"><span>probe::kprocess.exit</span></a></span><span class="refpurpose"> — Exit from process </span></dt><dt><span class="refentrytitle"><a href="API-kprocess-release.html"><span>probe::kprocess.release</span></a></span><span class="refpurpose"> — Process released </span></dt></dl></dd><dt><span class="chapter"><a href="signal.stp.html">17. Signal Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-signal-send.html"><span>probe::signal.send</span></a></span><span class="refpurpose"> — Signal being sent to a process </span></dt><dt><span class="refentrytitle"><a href="API-signal-send-return.html"><span>probe::signal.send.return</span></a></span><span class="refpurpose"> — Signal being sent to a process completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-checkperm.html"><span>probe::signal.checkperm</span></a></span><span class="refpurpose"> — Check being performed on a sent signal </span></dt><dt><span class="refentrytitle"><a href="API-signal-checkperm-return.html"><span>probe::signal.checkperm.return</span></a></span><span class="refpurpose"> — Check performed on a sent signal completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-wakeup.html"><span>probe::signal.wakeup</span></a></span><span class="refpurpose"> — Sleeping process being wakened for signal </span></dt><dt><span class="refentrytitle"><a href="API-signal-check-ignored.html"><span>probe::signal.check_ignored</span></a></span><span class="refpurpose"> — Checking to see signal is ignored </span></dt><dt><span class="refentrytitle"><a href="API-signal-check-ignored-return.html"><span>probe::signal.check_ignored.return</span></a></span><span class="refpurpose"> — Check to see signal is ignored completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-force-segv.html"><span>probe::signal.force_segv</span></a></span><span class="refpurpose"> — Forcing send of SIGSEGV </span></dt><dt><span class="refentrytitle"><a href="API-signal-force-segv-return.html"><span>probe::signal.force_segv.return</span></a></span><span class="refpurpose"> — Forcing send of SIGSEGV complete </span></dt><dt><span class="refentrytitle"><a href="API-signal-syskill.html"><span>probe::signal.syskill</span></a></span><span class="refpurpose"> — Sending kill signal to a process </span></dt><dt><span class="refentrytitle"><a href="API-signal-syskill-return.html"><span>probe::signal.syskill.return</span></a></span><span class="refpurpose"> — Sending kill signal completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-sys-tkill.html"><span>probe::signal.sys_tkill</span></a></span><span class="refpurpose"> — Sending a kill signal to a thread </span></dt><dt><span class="refentrytitle"><a href="API-signal-systkill-return.html"><span>probe::signal.systkill.return</span></a></span><span class="refpurpose"> — Sending kill signal to a thread completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-sys-tgkill.html"><span>probe::signal.sys_tgkill</span></a></span><span class="refpurpose"> — Sending kill signal to a thread group </span></dt><dt><span class="refentrytitle"><a href="API-signal-sys-tgkill-return.html"><span>probe::signal.sys_tgkill.return</span></a></span><span class="refpurpose"> — Sending kill signal to a thread group completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-send-sig-queue.html"><span>probe::signal.send_sig_queue</span></a></span><span class="refpurpose"> — Queuing a signal to a process </span></dt><dt><span class="refentrytitle"><a href="API-signal-send-sig-queue-return.html"><span>probe::signal.send_sig_queue.return</span></a></span><span class="refpurpose"> — Queuing a signal to a process completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-pending.html"><span>probe::signal.pending</span></a></span><span class="refpurpose"> — Examining pending signal </span></dt><dt><span class="refentrytitle"><a href="API-signal-pending-return.html"><span>probe::signal.pending.return</span></a></span><span class="refpurpose"> — Examination of pending signal completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-handle.html"><span>probe::signal.handle</span></a></span><span class="refpurpose"> — Signal handler being invoked </span></dt><dt><span class="refentrytitle"><a href="API-signal-handle-return.html"><span>probe::signal.handle.return</span></a></span><span class="refpurpose"> — Signal handler invocation completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-do-action.html"><span>probe::signal.do_action</span></a></span><span class="refpurpose"> — Examining or changing a signal action </span></dt><dt><span class="refentrytitle"><a href="API-signal-do-action-return.html"><span>probe::signal.do_action.return</span></a></span><span class="refpurpose"> — Examining or changing a signal action completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-procmask.html"><span>probe::signal.procmask</span></a></span><span class="refpurpose"> — Examining or changing blocked signals </span></dt><dt><span class="refentrytitle"><a href="API-signal-procmask-return.html"><span>probe::signal.procmask.return</span></a></span><span class="refpurpose"> — Examining or changing blocked signals completed </span></dt><dt><span class="refentrytitle"><a href="API-signal-flush.html"><span>probe::signal.flush</span></a></span><span class="refpurpose"> — Flushing all pending signals for a task </span></dt></dl></dd><dt><span class="chapter"><a href="errno.stp.html">18. Errno Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-errno-str.html"><span>function::errno_str</span></a></span><span class="refpurpose"> — Symbolic string associated with error code </span></dt><dt><span class="refentrytitle"><a href="API-returnstr.html"><span>function::returnstr</span></a></span><span class="refpurpose"> — Formats the return value as a string </span></dt><dt><span class="refentrytitle"><a href="API-return-str.html"><span>function::return_str</span></a></span><span class="refpurpose"> — Formats the return value as a string </span></dt></dl></dd><dt><span class="chapter"><a href="dentry.stp.html">19. Directory-entry (dentry) Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-d-name.html"><span>function::d_name</span></a></span><span class="refpurpose"> — get the dirent name </span></dt><dt><span class="refentrytitle"><a href="API-inode-name.html"><span>function::inode_name</span></a></span><span class="refpurpose"> — get the inode name </span></dt><dt><span class="refentrytitle"><a href="API-reverse-path-walk.html"><span>function::reverse_path_walk</span></a></span><span class="refpurpose"> — get the full dirent path </span></dt><dt><span class="refentrytitle"><a href="API-task-dentry-path.html"><span>function::task_dentry_path</span></a></span><span class="refpurpose"> — get the full dentry path </span></dt><dt><span class="refentrytitle"><a href="API-d-path.html"><span>function::d_path</span></a></span><span class="refpurpose"> — get the full nameidata path </span></dt></dl></dd><dt><span class="chapter"><a href="logging.stp.html">20. Logging Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-log.html"><span>function::log</span></a></span><span class="refpurpose"> — Send a line to the common trace buffer </span></dt><dt><span class="refentrytitle"><a href="API-warn.html"><span>function::warn</span></a></span><span class="refpurpose"> — Send a line to the warning stream </span></dt><dt><span class="refentrytitle"><a href="API-exit.html"><span>function::exit</span></a></span><span class="refpurpose"> — Start shutting down probing script. </span></dt><dt><span class="refentrytitle"><a href="API-error.html"><span>function::error</span></a></span><span class="refpurpose"> — Send an error message </span></dt><dt><span class="refentrytitle"><a href="API-ftrace.html"><span>function::ftrace</span></a></span><span class="refpurpose"> — Send a message to the ftrace ring-buffer </span></dt></dl></dd><dt><span class="chapter"><a href="queue_stats.stp.html">21. Queue Statistics Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-qs-wait.html"><span>function::qs_wait</span></a></span><span class="refpurpose"> — Function to record enqueue requests </span></dt><dt><span class="refentrytitle"><a href="API-qs-run.html"><span>function::qs_run</span></a></span><span class="refpurpose"> — Function to record being moved from wait queue to being serviced </span></dt><dt><span class="refentrytitle"><a href="API-qs-done.html"><span>function::qs_done</span></a></span><span class="refpurpose"> — Function to record finishing request </span></dt><dt><span class="refentrytitle"><a href="API-qsq-start.html"><span>function::qsq_start</span></a></span><span class="refpurpose"> — Function to reset the stats for a queue </span></dt><dt><span class="refentrytitle"><a href="API-qsq-utilization.html"><span>function::qsq_utilization</span></a></span><span class="refpurpose"> — Fraction of time that any request was being serviced </span></dt><dt><span class="refentrytitle"><a href="API-qsq-blocked.html"><span>function::qsq_blocked</span></a></span><span class="refpurpose"> — Returns the time reqest was on the wait queue </span></dt><dt><span class="refentrytitle"><a href="API-qsq-wait-queue-length.html"><span>function::qsq_wait_queue_length</span></a></span><span class="refpurpose"> — length of wait queue </span></dt><dt><span class="refentrytitle"><a href="API-qsq-service-time.html"><span>function::qsq_service_time</span></a></span><span class="refpurpose"> — Amount of time per request service </span></dt><dt><span class="refentrytitle"><a href="API-qsq-wait-time.html"><span>function::qsq_wait_time</span></a></span><span class="refpurpose"> — Amount of time in queue + service per request </span></dt><dt><span class="refentrytitle"><a href="API-qsq-throughput.html"><span>function::qsq_throughput</span></a></span><span class="refpurpose"> — Number of requests served per unit time </span></dt><dt><span class="refentrytitle"><a href="API-qsq-print.html"><span>function::qsq_print</span></a></span><span class="refpurpose"> — Returns a line of statistics for the given queue </span></dt></dl></dd><dt><span class="chapter"><a href="random.stp.html">22. Random functions Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-randint.html"><span>function::randint</span></a></span><span class="refpurpose"> — Return a random number between [0,n) </span></dt></dl></dd><dt><span class="chapter"><a href="conversions.stp.html">23. String and data retrieving functions Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-kernel-string.html"><span>function::kernel_string</span></a></span><span class="refpurpose"> — Retrieves string from kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-kernel-string2.html"><span>function::kernel_string2</span></a></span><span class="refpurpose"> — Retrieves string from kernel memory with alternative error string </span></dt><dt><span class="refentrytitle"><a href="API-kernel-string-n.html"><span>function::kernel_string_n</span></a></span><span class="refpurpose"> — Retrieves string of given length from kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-kernel-long.html"><span>function::kernel_long</span></a></span><span class="refpurpose"> — Retrieves a long value stored in kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-kernel-int.html"><span>function::kernel_int</span></a></span><span class="refpurpose"> — Retrieves an int value stored in kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-kernel-short.html"><span>function::kernel_short</span></a></span><span class="refpurpose"> — Retrieves a short value stored in kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-kernel-char.html"><span>function::kernel_char</span></a></span><span class="refpurpose"> — Retrieves a char value stored in kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-kernel-pointer.html"><span>function::kernel_pointer</span></a></span><span class="refpurpose"> — Retrieves a pointer value stored in kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-user-string.html"><span>function::user_string</span></a></span><span class="refpurpose"> — Retrieves string from user space </span></dt><dt><span class="refentrytitle"><a href="API-user-string2.html"><span>function::user_string2</span></a></span><span class="refpurpose"> — Retrieves string from user space with alternative error string </span></dt><dt><span class="refentrytitle"><a href="API-user-string-warn.html"><span>function::user_string_warn</span></a></span><span class="refpurpose"> — Retrieves string from user space </span></dt><dt><span class="refentrytitle"><a href="API-user-string-quoted.html"><span>function::user_string_quoted</span></a></span><span class="refpurpose"> — Retrieves and quotes string from user space </span></dt><dt><span class="refentrytitle"><a href="API-user-string-n.html"><span>function::user_string_n</span></a></span><span class="refpurpose"> — Retrieves string of given length from user space </span></dt><dt><span class="refentrytitle"><a href="API-user-string-n2.html"><span>function::user_string_n2</span></a></span><span class="refpurpose"> — Retrieves string of given length from user space </span></dt><dt><span class="refentrytitle"><a href="API-user-string-n-warn.html"><span>function::user_string_n_warn</span></a></span><span class="refpurpose"> — Retrieves string from user space </span></dt><dt><span class="refentrytitle"><a href="API-user-string-n-quoted.html"><span>function::user_string_n_quoted</span></a></span><span class="refpurpose"> — Retrieves and quotes string from user space </span></dt><dt><span class="refentrytitle"><a href="API-user-char.html"><span>function::user_char</span></a></span><span class="refpurpose"> — Retrieves a char value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-char-warn.html"><span>function::user_char_warn</span></a></span><span class="refpurpose"> — Retrieves a char value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-short.html"><span>function::user_short</span></a></span><span class="refpurpose"> — Retrieves a short value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-short-warn.html"><span>function::user_short_warn</span></a></span><span class="refpurpose"> — Retrieves a short value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-ushort.html"><span>function::user_ushort</span></a></span><span class="refpurpose"> — Retrieves an unsigned short value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-ushort-warn.html"><span>function::user_ushort_warn</span></a></span><span class="refpurpose"> — Retrieves an unsigned short value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-int.html"><span>function::user_int</span></a></span><span class="refpurpose"> — Retrieves an int value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-int-warn.html"><span>function::user_int_warn</span></a></span><span class="refpurpose"> — Retrieves an int value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-long.html"><span>function::user_long</span></a></span><span class="refpurpose"> — Retrieves a long value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-long-warn.html"><span>function::user_long_warn</span></a></span><span class="refpurpose"> — Retrieves a long value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-int8.html"><span>function::user_int8</span></a></span><span class="refpurpose"> — Retrieves a 8-bit integer value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-uint8.html"><span>function::user_uint8</span></a></span><span class="refpurpose"> — Retrieves an unsigned 8-bit integer value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-int16.html"><span>function::user_int16</span></a></span><span class="refpurpose"> — Retrieves a 16-bit integer value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-uint16.html"><span>function::user_uint16</span></a></span><span class="refpurpose"> — Retrieves an unsigned 16-bit integer value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-int32.html"><span>function::user_int32</span></a></span><span class="refpurpose"> — Retrieves a 32-bit integer value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-uint32.html"><span>function::user_uint32</span></a></span><span class="refpurpose"> — Retrieves an unsigned 32-bit integer value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-int64.html"><span>function::user_int64</span></a></span><span class="refpurpose"> — Retrieves a 64-bit integer value stored in user space </span></dt><dt><span class="refentrytitle"><a href="API-user-uint64.html"><span>function::user_uint64</span></a></span><span class="refpurpose"> — Retrieves an unsigned 64-bit integer value stored in user space </span></dt></dl></dd><dt><span class="chapter"><a href="conversions-guru.stp.html">24. String and data writing functions Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-set-kernel-string.html"><span>function::set_kernel_string</span></a></span><span class="refpurpose"> — Writes a string to kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-set-kernel-string-n.html"><span>function::set_kernel_string_n</span></a></span><span class="refpurpose"> — Writes a string of given length to kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-set-kernel-long.html"><span>function::set_kernel_long</span></a></span><span class="refpurpose"> — Writes a long value to kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-set-kernel-int.html"><span>function::set_kernel_int</span></a></span><span class="refpurpose"> — Writes an int value to kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-set-kernel-short.html"><span>function::set_kernel_short</span></a></span><span class="refpurpose"> — Writes a short value to kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-set-kernel-char.html"><span>function::set_kernel_char</span></a></span><span class="refpurpose"> — Writes a char value to kernel memory </span></dt><dt><span class="refentrytitle"><a href="API-set-kernel-pointer.html"><span>function::set_kernel_pointer</span></a></span><span class="refpurpose"> — Writes a pointer value to kernel memory. </span></dt></dl></dd><dt><span class="chapter"><a href="string.stp.html">25. A collection of standard string functions</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-strlen.html"><span>function::strlen</span></a></span><span class="refpurpose"> — Returns the length of a string </span></dt><dt><span class="refentrytitle"><a href="API-substr.html"><span>function::substr</span></a></span><span class="refpurpose"> — Returns a substring </span></dt><dt><span class="refentrytitle"><a href="API-stringat.html"><span>function::stringat</span></a></span><span class="refpurpose"> — Returns the char at a given position in the string </span></dt><dt><span class="refentrytitle"><a href="API-isinstr.html"><span>function::isinstr</span></a></span><span class="refpurpose"> — Returns whether a string is a substring of another string </span></dt><dt><span class="refentrytitle"><a href="API-text-str.html"><span>function::text_str</span></a></span><span class="refpurpose"> — Escape any non-printable chars in a string </span></dt><dt><span class="refentrytitle"><a href="API-text-strn.html"><span>function::text_strn</span></a></span><span class="refpurpose"> — Escape any non-printable chars in a string </span></dt><dt><span class="refentrytitle"><a href="API-str-replace.html"><span>function::str_replace</span></a></span><span class="refpurpose"> — str_replace Replaces all instances of a substring with another </span></dt><dt><span class="refentrytitle"><a href="API-strtol.html"><span>function::strtol</span></a></span><span class="refpurpose"> — strtol - Convert a string to a long </span></dt><dt><span class="refentrytitle"><a href="API-isdigit.html"><span>function::isdigit</span></a></span><span class="refpurpose"> — Checks for a digit </span></dt><dt><span class="refentrytitle"><a href="API-tokenize.html"><span>function::tokenize</span></a></span><span class="refpurpose"> — Return the next non-empty token in a string </span></dt></dl></dd><dt><span class="chapter"><a href="ansi.stp.html">26. Utility functions for using ansi control chars in logs</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-ansi-clear-screen.html"><span>function::ansi_clear_screen</span></a></span><span class="refpurpose"> — Move cursor to top left and clear screen. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-set-color.html"><span>function::ansi_set_color</span></a></span><span class="refpurpose"> — Set the ansi Select Graphic Rendition mode. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-set-color2.html"><span>function::ansi_set_color2</span></a></span><span class="refpurpose"> — Set the ansi Select Graphic Rendition mode. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-set-color3.html"><span>function::ansi_set_color3</span></a></span><span class="refpurpose"> — Set the ansi Select Graphic Rendition mode. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-reset-color.html"><span>function::ansi_reset_color</span></a></span><span class="refpurpose"> — Resets Select Graphic Rendition mode. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-new-line.html"><span>function::ansi_new_line</span></a></span><span class="refpurpose"> — Move cursor to new line. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-cursor-move.html"><span>function::ansi_cursor_move</span></a></span><span class="refpurpose"> — Move cursor to new coordinates. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-cursor-hide.html"><span>function::ansi_cursor_hide</span></a></span><span class="refpurpose"> — Hides the cursor. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-cursor-save.html"><span>function::ansi_cursor_save</span></a></span><span class="refpurpose"> — Saves the cursor position. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-cursor-restore.html"><span>function::ansi_cursor_restore</span></a></span><span class="refpurpose"> — Restores a previously saved cursor position. </span></dt><dt><span class="refentrytitle"><a href="API-ansi-cursor-show.html"><span>function::ansi_cursor_show</span></a></span><span class="refpurpose"> — Shows the cursor. </span></dt><dt><span class="refentrytitle"><a href="API-thread-indent.html"><span>function::thread_indent</span></a></span><span class="refpurpose"> — returns an amount of space with the current task information </span></dt><dt><span class="refentrytitle"><a href="API-indent.html"><span>function::indent</span></a></span><span class="refpurpose"> — returns an amount of space to indent </span></dt></dl></dd><dt><span class="chapter"><a href="stap_staticmarkers.stp.html">27. SystemTap Translator Tapset</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="API-stap-pass0.html"><span>probe::stap.pass0</span></a></span><span class="refpurpose"> — Starting stap pass0 (parsing command line arguments) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass0-end.html"><span>probe::stap.pass0.end</span></a></span><span class="refpurpose"> — Finished stap pass0 (parsing command line arguments) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass1a.html"><span>probe::stap.pass1a</span></a></span><span class="refpurpose"> — Starting stap pass1 (parsing user script) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass1b.html"><span>probe::stap.pass1b</span></a></span><span class="refpurpose"> — Starting stap pass1 (parsing library scripts) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass1-end.html"><span>probe::stap.pass1.end</span></a></span><span class="refpurpose"> — Finished stap pass1 (parsing scripts) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass2.html"><span>probe::stap.pass2</span></a></span><span class="refpurpose"> — Starting stap pass2 (elaboration) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass2-end.html"><span>probe::stap.pass2.end</span></a></span><span class="refpurpose"> — Finished stap pass2 (elaboration) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass3.html"><span>probe::stap.pass3</span></a></span><span class="refpurpose"> — Starting stap pass3 (translation to C) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass3-end.html"><span>probe::stap.pass3.end</span></a></span><span class="refpurpose"> — Finished stap pass3 (translation to C) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass4.html"><span>probe::stap.pass4</span></a></span><span class="refpurpose"> — Starting stap pass4 (compile C code into kernel module) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass4-end.html"><span>probe::stap.pass4.end</span></a></span><span class="refpurpose"> — Finished stap pass4 (compile C code into kernel module) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass5.html"><span>probe::stap.pass5</span></a></span><span class="refpurpose"> — Starting stap pass5 (running the instrumentation) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass5-end.html"><span>probe::stap.pass5.end</span></a></span><span class="refpurpose"> — Finished stap pass5 (running the instrumentation) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass6.html"><span>probe::stap.pass6</span></a></span><span class="refpurpose"> — Starting stap pass6 (cleanup) </span></dt><dt><span class="refentrytitle"><a href="API-stap-pass6-end.html"><span>probe::stap.pass6.end</span></a></span><span class="refpurpose"> — Finished stap pass6 (cleanup) </span></dt><dt><span class="refentrytitle"><a href="API-stap-cache-clean.html"><span>probe::stap.cache_clean</span></a></span><span class="refpurpose"> — Removing file from stap cache </span></dt><dt><span class="refentrytitle"><a href="API-stap-cache-add-mod.html"><span>probe::stap.cache_add_mod</span></a></span><span class="refpurpose"> — Adding kernel instrumentation module to cache </span></dt><dt><span class="refentrytitle"><a href="API-stap-cache-add-src.html"><span>probe::stap.cache_add_src</span></a></span><span class="refpurpose"> — Adding C code translation to cache </span></dt><dt><span class="refentrytitle"><a href="API-stap-cache-add-nss.html"><span>probe::stap.cache_add_nss</span></a></span><span class="refpurpose"> — Add NSS (Network Security Services) information to cache </span></dt><dt><span class="refentrytitle"><a href="API-stap-cache-get.html"><span>probe::stap.cache_get</span></a></span><span class="refpurpose"> — Found item in stap cache </span></dt><dt><span class="refentrytitle"><a href="API-stap-system.html"><span>probe::stap.system</span></a></span><span class="refpurpose"> — Starting a command from stap </span></dt><dt><span class="refentrytitle"><a href="API-stap-system-spawn.html"><span>probe::stap.system.spawn</span></a></span><span class="refpurpose"> — stap spawned new process </span></dt><dt><span class="refentrytitle"><a href="API-stap-system-return.html"><span>probe::stap.system.return</span></a></span><span class="refpurpose"> — Finished a command from stap </span></dt><dt><span class="refentrytitle"><a href="API-staprun-insert-module.html"><span>probe::staprun.insert_module</span></a></span><span class="refpurpose"> — Inserting SystemTap instrumentation module </span></dt><dt><span class="refentrytitle"><a href="API-staprun-remove-module.html"><span>probe::staprun.remove_module</span></a></span><span class="refpurpose"> — Removing SystemTap instrumentation module </span></dt><dt><span class="refentrytitle"><a href="API-staprun-send-control-message.html"><span>probe::staprun.send_control_message</span></a></span><span class="refpurpose"> — Sending a control message </span></dt><dt><span class="refentrytitle"><a href="API-stapio-receive-control-message.html"><span>probe::stapio.receive_control_message</span></a></span><span class="refpurpose"> — Recieved a control message </span></dt></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Chapter 1. Introduction</td></tr></table></div></body></html>