Chapter 7. Compiler and Tools
SystemTap is a tracing and probing tool that allows users to study and monitor the activities of the operating system (particularly, the kernel) in fine detail. It provides information similar to the output of tools like netstat, ps, top, and iostat; however, SystemTap is designed to provide more filtering and analysis options for collected information.
- The SystemTap runtime (staprun) now accepts a
-Ttimeout option to allow less frequent wake-ups to poll for low-throughput output from scripts. - When invoked by SystemTap, the
kbuild$PATHenvironment is now sanitized. printfformats are now capable of using the%#ccontrol parameter to escape non-printing characters.- Pretty-printed bit fields now use integers; characters now use escaped formatting for printing.
- The SystemTap compile-server and client now support IPv6 networks.
- SystemTap modules are now smaller and compile faster. The modules' debuginfo is now suppressed by default.
- The
@varsyntax is now an alternative language syntax for accessing DWARF variables inuprobeandkprobehandlers (process, kernel, module). - The SystemTap script translator driver (
stap) now provides the following resource limit options:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - The SystemTap compile-server now supports multiple concurrent connections.
- The following tapset function is deprecated in the 1.8 release and will be removed in the 1.9 release:
daddr_to_string()
daddr_to_string()Copy to Clipboard Copied! Toggle word wrap Toggle overflow - SystemTap now mangles local variables to avoid collisions with C headers included by tapsets.
- In embedded-C functions, the newly-defined macro
STAP_ARG_*should now be used instead of theTHIS->*notation.