diff options
| author | Jeremy Cline <[email protected]> | 2018-07-28 14:48:33 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2018-07-29 02:08:38 +0000 |
| commit | ddc7c5721ae3554727f3e25e5c7510e278caf6be (patch) | |
| tree | 6e99f67b40c8bb35d405b359534cbc39b2a3793a /scripts/tracing/draw_functrace.py | |
| parent | builddeb: Add automatic support for sh{3,4}{,eb} architectures (diff) | |
| download | kernel-ddc7c5721ae3554727f3e25e5c7510e278caf6be.tar.gz kernel-ddc7c5721ae3554727f3e25e5c7510e278caf6be.zip | |
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]>
Diffstat (limited to 'scripts/tracing/draw_functrace.py')
| -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() |
