On 1/17/19 1:45 AM, Seeteena Thoufeek wrote:
> +from __future__ import print_function
Again, you don't need this.
> - print "\nsyscall events for %s:\n\n" % (for_comm),
> + print("\nsyscall events for %s:\n\n" % (for_comm)),
same comments regarding trail
Support both Python 2 and Python 3 in sctop.py.``print``
is now a function rather than a statement. This should have no
functional change.
Signed-off-by: Seeteena Thoufeek
Reviewed-by: Ravi Bangoria
---
tools/perf/scripts/python/sctop.py | 15 ---
1 file changed, 8 insertions(+), 7
2 matches
Mail list logo