diff options
author | Jeremy Cline <jcline@redhat.com> | 2018-07-28 10:48:33 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-29 11:08:38 +0900 |
commit | ddc7c5721ae3554727f3e25e5c7510e278caf6be (patch) | |
tree | 6e99f67b40c8bb35d405b359534cbc39b2a3793a /scripts/tracing | |
parent | 79a85b55e39e65d6f20c753c4ae8bcd6f4cd7007 (diff) | |
download | linux-ddc7c5721ae3554727f3e25e5c7510e278caf6be.tar.bz2 |
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-x | scripts/tracing/draw_functrace.py | 2 |
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() |