mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02: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:
committed by
Masahiro Yamada
parent
79a85b55e3
commit
ddc7c5721a
@@ -123,7 +123,7 @@ def main():
|
|||||||
tree = tree.getParent(caller)
|
tree = tree.getParent(caller)
|
||||||
tree = tree.calls(callee, calltime)
|
tree = tree.calls(callee, calltime)
|
||||||
|
|
||||||
print CallTree.ROOT
|
print(CallTree.ROOT)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
Reference in New Issue
Block a user