]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
docs: trace: decode_msr.py: make it compatible with python 3
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 11 Feb 2025 07:00:46 +0000 (08:00 +0100)
committerJonathan Corbet <corbet@lwn.net>
Thu, 13 Feb 2025 16:45:22 +0000 (09:45 -0700)
This script uses print <foo> instead of print(foo), which is
incompatible with Python 3.

Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/88bb0d47100feaa3cda215e68bf6500dc67da7b3.1739257245.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/trace/postprocess/decode_msr.py

index aa9cc7abd5c2bec913eca3e76d0ea2f7b0079519..f5609b16f58982ca5d0e2dfe1e6455009e68b1a3 100644 (file)
@@ -32,6 +32,6 @@ for j in sys.stdin:
                                        break
                if r:
                        j = j.replace(" " + m.group(2), " " + r + "(" + m.group(2) + ")")
-       print j,
+       print(j)