support odd Linux distros
authorBrendan Gregg <brendan.d.gregg@gmail.com>
Tue, 18 Aug 2015 23:11:35 +0000 (16:11 -0700)
committerBrendan Gregg <brendan.d.gregg@gmail.com>
Tue, 18 Aug 2015 23:11:35 +0000 (16:11 -0700)
examples/bitehist.py
examples/disksnoop.py
examples/vfsreadlat.py
tools/pidpersec
tools/syncsnoop
tools/vfscount
tools/vfsstat

index 5662d4e..f8c0b1f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # bitehist.py  Block I/O size histogram.
 #              For Linux, uses BCC, eBPF. See .c file.
index 11e5ab6..ee660f7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # disksnoop.py Trace block device I/O: basic version of iosnoop.
 #              For Linux, uses BCC, eBPF. See .c file.
index 4707b03..4df6e39 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # vfsreadlat.py                VFS read latency distribution.
 #                      For Linux, uses BCC, eBPF. See .c file.
index e4c6940..b4a7ffb 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # pidpersec    Count new processes (via fork).
 #              For Linux, uses BCC, eBPF. See .c file.
index bc2447d..25f1e8c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # syncsnoop    Trace sync() syscall.
 #              For Linux, uses BCC, eBPF. Embedded C.
index 60adcb3..5fe3f9b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # vfscount     Count some VFS calls.
 #              For Linux, uses BCC, eBPF. See .c file.
index 0be8cec..c735be4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # vfsstat      Count some VFS calls.
 #              For Linux, uses BCC, eBPF. See .c file.