dbus tools: switch tools to python3 44/271444/1
authorAdrian Szyndela <adrian.s@samsung.com>
Mon, 21 Feb 2022 09:50:12 +0000 (10:50 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Mon, 21 Feb 2022 09:52:20 +0000 (10:52 +0100)
New version of bcc is built for python3.
This is a convenience change for our tools, to run them
smoothly when both python3 and python2 are installed on the system,
and /usr/bin/python points to python2.

Change-Id: I782972cee553af9a27f2b013b48eef70b94a7591

tools/dbus-connection-message-size.py
tools/dbus-glib-top.py
tools/dbus-latency.py
tools/dbus-message-size.py
tools/dbus-message-type.py
tools/dbus-messages-sent.py
tools/dbus-top.py

index 64451cfb6b65b786ace90c83101d55254daab5c4..66ef2a34e8946f0970e85212dac8d1ecd9f77492 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from bcc import BPF
 from time import sleep
index 8ac6312c75e2de9424eee03d334c766c285bac10..67fbbd28091447a950572d1aac57ec43fd99923b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from bcc import BPF
 from time import sleep
index d846ca1ec78446a6f31fde8cd18367e90a812e16..15e83fd958644f73a1d0e498be941f0bf542eb23 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from bcc import BPF
 from time import sleep
index c03c1a069512a6ed241bd9bb58f4c62bc4359bd6..61f850aaa2c6ec5d4b1b479d3a9ac862907e8730 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 #old version
 
index 51a1555818b40d55b7967f4726b659f949355627..10ec8ad7d70182244122b92114c10b02acae74d3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from bcc import BPF
 from time import sleep
index 8e9139943926076d2ab8500ef5109d4b298a3032..0d45c5693510515eb54435b3442ef93d277d53d4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from bcc import BPF
 from time import sleep
index 2485c777980c55369945df566e7de80668441d07..8d2861f5f14b1cf8b0c031c2a415ad53f3986c10 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 from bcc import BPF
 from time import sleep