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?

Systemtap Language

PreviousBuild package from sourceNextSyntax

Last updated 6 years ago

Was this helpful?

systemtap is so powerful, because we could write scripts to program the behavior according to our purpose.

The magic all exists in the script.

The script is like c/awk. The general idea is simple, while there are still different concepts need to understand before we can handle the script.

Based on my humble understanding, a programming language could be divided into several parts:

Besides these, systemtap has several special parts:

When I almost finish this serials, I found a very good from RH. I believe this one is more sophisticated than my serials. I would recommend you to read that and my serials would refer to that one in some points.

BTW, I am glad to see the author was my colleague. Thanks to IBM.

Syntax
Variables
Control Flow
Function & Macro
TypeCase
Guru Mode
Probe Point
Predefined Functions
Language Reference