File: procmod_watcher.meta

package info (click to toggle)
systemtap 2.6-0.2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 21,220 kB
  • ctags: 10,944
  • sloc: cpp: 53,239; ansic: 50,615; exp: 33,694; sh: 9,906; xml: 7,665; perl: 2,089; python: 1,534; tcl: 1,236; makefile: 797; java: 148; lisp: 104; awk: 94; asm: 91; sed: 16
file content (13 lines) | stat: -rw-r--r-- 613 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
title: Monitor process creation/termination and module [un]loading
name: procmod_watcher.stp
version: 1.0
author: Jonathan Lebon
keywords: process monitoring syscall tracepoint
subsystem: process
status: production
exit: user-controlled
output: trace
scope: process
description: The procmod_watcher.stp script monitors calls to fork(), exec(), exit(), init_module(), and delete_module(). Event-specific details are also printed out (e.g. for exec(), the file being exec'ed). This script does not require debuginfo.
test_check: stap -p4 procmod_watcher.stp
test_installcheck: stap procmod_watcher.stp -c "sleep 1"