Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

9.11. Miscellaneous tapset functions

The following are miscellaneous functions.

9.11.1. addr_to_node

General syntax:
addr_to_node:long (addr:long)
This function accepts an address, and returns the node that the given address belongs to in a NUMA system.

9.11.2. exit

General syntax:
exit:unknown ()
This function enqueues a request to shut down the SystemTap session. It does not unwind the current probe handler, nor block new probe handlers. The stap daemon will respond to the request and initiate an ordered shutdown.

9.11.3. system

General syntax:
system (cmd:string)
This function runs a command on the system. The command will run in the background when the current probe completes.