aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tracing
diff options
context:
space:
mode:
authorJeremy Cline <jcline@redhat.com>2018-07-28 10:48:33 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-29 11:08:38 +0900
commitddc7c5721ae3554727f3e25e5c7510e278caf6be (patch)
tree6e99f67b40c8bb35d405b359534cbc39b2a3793a /scripts/tracing
parentbuilddeb: Add automatic support for sh{3,4}{,eb} architectures (diff)
downloadlinux-dev-ddc7c5721ae3554727f3e25e5c7510e278caf6be.tar.xz
linux-dev-ddc7c5721ae3554727f3e25e5c7510e278caf6be.zip
scripts: Add Python 3 support to tracing/draw_functrace.py
Use the print function. This maintains Python 2 support and should have no functional change. Signed-off-by: Jeremy Cline <jcline@redhat.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/tracing')
-rwxr-xr-xscripts/tracing/draw_functrace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tracing/draw_functrace.py b/scripts/tracing/draw_functrace.py
index db40fa04cd51..9b6dd4f36335 100755
--- a/scripts/tracing/draw_functrace.py
+++ b/scripts/tracing/draw_functrace.py
@@ -123,7 +123,7 @@ def main():
tree = tree.getParent(caller)
tree = tree.calls(callee, calltime)
- print CallTree.ROOT
+ print(CallTree.ROOT)
if __name__ == "__main__":
main()