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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.