From b07ee0689cd8842559ec8b2b026e8f5ad7f71e0d Mon Sep 17 00:00:00 2001 From: Adrian Szyndela Date: Mon, 21 Feb 2022 10:50:12 +0100 Subject: [PATCH] dbus tools: switch tools to python3 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 | 2 +- tools/dbus-glib-top.py | 2 +- tools/dbus-latency.py | 2 +- tools/dbus-message-size.py | 2 +- tools/dbus-message-type.py | 2 +- tools/dbus-messages-sent.py | 2 +- tools/dbus-top.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/dbus-connection-message-size.py b/tools/dbus-connection-message-size.py index 64451cfb..66ef2a34 100755 --- a/tools/dbus-connection-message-size.py +++ b/tools/dbus-connection-message-size.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from bcc import BPF from time import sleep diff --git a/tools/dbus-glib-top.py b/tools/dbus-glib-top.py index 8ac6312c..67fbbd28 100755 --- a/tools/dbus-glib-top.py +++ b/tools/dbus-glib-top.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from bcc import BPF from time import sleep diff --git a/tools/dbus-latency.py b/tools/dbus-latency.py index d846ca1e..15e83fd9 100755 --- a/tools/dbus-latency.py +++ b/tools/dbus-latency.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from bcc import BPF from time import sleep diff --git a/tools/dbus-message-size.py b/tools/dbus-message-size.py index c03c1a06..61f850aa 100755 --- a/tools/dbus-message-size.py +++ b/tools/dbus-message-size.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 #old version diff --git a/tools/dbus-message-type.py b/tools/dbus-message-type.py index 51a15558..10ec8ad7 100755 --- a/tools/dbus-message-type.py +++ b/tools/dbus-message-type.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from bcc import BPF from time import sleep diff --git a/tools/dbus-messages-sent.py b/tools/dbus-messages-sent.py index 8e913994..0d45c569 100755 --- a/tools/dbus-messages-sent.py +++ b/tools/dbus-messages-sent.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from bcc import BPF from time import sleep diff --git a/tools/dbus-top.py b/tools/dbus-top.py index 2485c777..8d2861f5 100755 --- a/tools/dbus-top.py +++ b/tools/dbus-top.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from bcc import BPF from time import sleep -- 2.34.1