projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79a85b5
)
scripts: Add Python 3 support to tracing/draw_functrace.py
author
Jeremy Cline
<jcline@redhat.com>
Sat, 28 Jul 2018 14:48:33 +0000
(10:48 -0400)
committer
Masahiro Yamada
<yamada.masahiro@socionext.com>
Sun, 29 Jul 2018 02:08:38 +0000
(11:08 +0900)
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>
scripts/tracing/draw_functrace.py
patch
|
blob
|
history
diff --git
a/scripts/tracing/draw_functrace.py
b/scripts/tracing/draw_functrace.py
index db40fa04cd513f4a68d86af935fec02f27e507d2..9b6dd4f36335b352e89d181f21e0ece522765813 100755
(executable)
--- 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()