aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Cline <[email protected]>2018-07-28 10:48:33 -0400
committerMasahiro Yamada <[email protected]>2018-07-29 11:08:38 +0900
commitddc7c5721ae3554727f3e25e5c7510e278caf6be (patch)
tree6e99f67b40c8bb35d405b359534cbc39b2a3793a
parent79a85b55e39e65d6f20c753c4ae8bcd6f4cd7007 (diff)
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 <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
-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()