systemtap_with_examples
  • Introduction
  • Installation
    • Build systap from source
    • Build package from source
  • Systemtap Language
    • Syntax
    • Variables
    • Control Flow
    • Function & Macro
    • TypeCase
    • Guru Mode
    • Probe Point
    • Predefined Functions
  • Examples
    • Call Graph
    • Dump Stack Trace
    • Duration
    • CPU Performance
    • Network DEV Analysis
    • KVM MMU
  • Reference
Powered by GitBook
On this page

Was this helpful?

  1. Systemtap Language

Predefined Functions

PreviousProbe PointNextExamples

Last updated 6 years ago

Was this helpful?

systemtap provides many helpful predefined functions, like

  • printf()

  • print_backtrace()

  • pp()

  • execname()

  • task_cpu()

  • pid(), etc.

They are defined in /usr/share/systemtap/tapset. This is not only a "lib", but also a very good learning material.

is a good reference for those functions.

Predefinded Functions