Watch
1
Fork
You've already forked kernel_a52xq
0
mirror of https://github.com/a52xq-dev/kernel.git synced 2026-10-18 13:48:09 +07:00

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>
This commit is contained in:
Jeremy Cline 2018-07-28 10:48:33 -04:00 • committed by Masahiro Yamada
commit ddc7c5721a

View file

@ -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()