lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 17 Jan 2019 13:32:02 +0100
From:   Jiri Olsa <>
To:     Seeteena Thoufeek <>
Subject: Re: [PATCH v2] perf scripts python: Add Python 3 support to

On Thu, Jan 17, 2019 at 03:15:28PM +0530, Seeteena Thoufeek wrote:
> Support both Python 2 and Python 3 in
> ``print`` is now a function rather than a statement. This should have
> no functional change.
> Fix indentation issue, replace spaces with tab
> Signed-off-by: Seeteena Thoufeek <>
> Reviewed-by: Ravi Bangoria <>

hum, could you please add some info about testing those changes?
(or even some global into 0/.. patch)

this is working for me on python2:

	[ perf]# perf script rec check-perf-trace
	[ perf]# perf script   -s scripts/python/

	unhandled events:

	event                                          count

	----------------------------------------  -----------

	raw_syscalls__sys_enter                      3509879

but fails for python3:

	[root@...-x3650m4-01-vm-04 perf]# perf script rec check-perf-trace
	^C[ perf record: Woken up 0 times to write data ]
	1 out of order events recorded.
	[ perf record: Captured and wrote 43.132 MB (490171 samples) ]

	[root@...-x3650m4-01-vm-04 perf]# perf script   -s scripts/python/
	Traceback (most recent call last):
	  File "scripts/python/", line 18, in <module>
	    from perf_trace_context import *
	ModuleNotFoundError: No module named 'perf_trace_context'
	Error running python script scripts/python/

I did not test with rpm, just did 'make install' for perf


Powered by blists - more mailing lists