diff options
| author | Sergey Senozhatsky <[email protected]> | 2016-01-14 15:16:53 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-01-14 16:00:49 -0800 |
| commit | 72214a24a7677d4c7501eecc9517ed681b5f2db2 (patch) | |
| tree | 7149adc6a4eede8db2284e0148582bf3c6b7bf7d /tools/perf/scripts/python/netdev-times.py | |
| parent | ea535e418c01837d07b6c94e817540f50bfdadb0 (diff) | |
scripts/bloat-o-meter: fix python3 syntax error
In Python3+ print is a function so the old syntax is not correct
anymore:
$ ./scripts/bloat-o-meter vmlinux.o vmlinux.o.old
File "./scripts/bloat-o-meter", line 61
print "add/remove: %s/%s grow/shrink: %s/%s up/down: %s/%s (%s)" % \
^
SyntaxError: invalid syntax
Fix by calling print as a function.
Tested on python 2.7.11, 3.5.1
Signed-off-by: Sergey Senozhatsky <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions