From: Adrian Szyndela Date: Mon, 21 Feb 2022 09:50:12 +0000 (+0100) Subject: dbus tools: switch tools to python3 X-Git-Tag: submit/tizen/20220713.022109~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b07ee0689cd8842559ec8b2b026e8f5ad7f71e0d;p=platform%2Fupstream%2Fbcc.git 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 --- 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