Recent Posts

Systemtap Timer probes

2 minute read

背景 You can use intervals defined by the standard kernel jiffies timer to trigger probe handlers asynchronously. A jiffy is a kernel-defined unit of time ty...

Systemtap Syscall probes

2 minute read

背景 The syscall.* aliases define several hundred probes. They use the following syntax: syscall.NAME syscall.NAME.return Generally, two probes are defin...

Systemtap kernel Trace probes

2 minute read

背景 This family of probe points hooks to static probing tracepoints inserted into the kernel or kernel modules. As with marker probes, these tracepoints ar...

Systemtap kernel Marker probes

4 minute read

背景 This family of probe points connects to static probe markers inserted into the kernel or a module. These markers are special macro calls in the kernel ...

Systemtap PROCFS probes

3 minute read

背景 systemtap 虚拟文件交互探针, 在/proc/systemtap/MODNAME目录下对指定文件读写时触发. These probe points allow procfs pseudo-files in /proc/systemtap/MODNAME to be created, read an...

Systemtap Userspace probing - 4

10 minute read

背景 接上一篇BLOG http://blog.163.com/digoal@126/blog/static/163877040201383042846295/ 本文讲一下userspace 探针的最后一点内容, 静态userspace探针. Static userspace probing You c...

Systemtap Userspace probing - 3

2 minute read

背景 接上一篇BLOG http://blog.163.com/digoal@126/blog/static/16387704020138301545039/ 本文要说的是指令探针, 可以对单步指令, 或者指令块设置探针. Instruction probes Constructs: process...

Systemtap Userspace probing - 2

4 minute read

背景 接上一篇BLOG http://blog.163.com/digoal@126/blog/static/163877040201382941342901/ 本文讲一下 Target process mode Target process mode (invoked with stap -c CMD o...

Systemtap Userspace probing - 1

8 minute read

背景 Systemtap Support for userspace probing is supported on kernels that are configured to include the utrace or uprobes extensions. 前面几篇blog介绍了DWARF和DWARF-l...

Systemtap DWARF-less probing (kprobe)

3 minute read

背景 In the absence of debugging information, you can still use the kprobe family of probes to examine the entry and exit points of kernel and module functions...