Debian Codegraph @

EXAMPLES/process/migrate.meta

raw
1 title: Track the Migration of Specific Executables
2 name: migrate.stp
3 version: 1.0
4 author: Ankita Garg at IBM
5 keywords: scheduler
6 subsystem: scheduler
7 status: production
8 exit: user-controlled
9 output: trace
10 scope: process
11 description: The migrate.stp script takes an argument which is the executable name of the task it should monitor. Each time a task with that executable name migrates between processors an entry is printed with the process id (pid), the executable name, the processor off loading the task, and the process taking the task. Note that the task may or may not be executing at the time of the migration.
12 arg_1: The name of the executable to watch
13 test_check: stap -p4 migrate.stp bash
14 test_installcheck: stap migrate.stp -T 1 bash