summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/profiling/sched_switch.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.examples/profiling/sched_switch.stp')
-rwxr-xr-x[-rw-r--r--]testsuite/systemtap.examples/profiling/sched_switch.stp1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/profiling/sched_switch.stp b/testsuite/systemtap.examples/profiling/sched_switch.stp
index 24973526..1c1b18b7 100644..100755
--- a/testsuite/systemtap.examples/profiling/sched_switch.stp
+++ b/testsuite/systemtap.examples/profiling/sched_switch.stp
@@ -1,3 +1,4 @@
+#! /usr/bin/env stap
/* This script works similar to ftrace's sched_switch. It displays a list of
* processes which get switched in and out of the scheduler. The format of display
* is PROCESS_NAME PROCESS_PID CPU TIMESTAMP PID: PRIORITY: PROCESS STATE ->/+