Re: [PATCH] perf script: fix crash when processing recorded stat data

2019-01-21 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 21, 2019 at 11:16:26AM +0530, Ravi Bangoria escreveu: > > > On 1/21/19 12:44 AM, Tony Jones wrote: > > While updating Perf to work with Python3 and Python2 I noticed that the > > stat-cpi script was dumping core. > > [...] > > Fixes: 1fcd03946b52 ("perf stat: Update per-thread

Re: [PATCH] perf script: fix crash when processing recorded stat data

2019-01-20 Thread Jiri Olsa
On Sun, Jan 20, 2019 at 11:14:14AM -0800, Tony Jones wrote: > While updating Perf to work with Python3 and Python2 I noticed that the > stat-cpi script was dumping core. > > $ perf stat -e cycles,instructions record -o /tmp/perf.data /bin/false > > Performance counter stats for '/bin/false':

Re: [PATCH] perf script: fix crash when processing recorded stat data

2019-01-20 Thread Ravi Bangoria
On 1/21/19 12:44 AM, Tony Jones wrote: > While updating Perf to work with Python3 and Python2 I noticed that the > stat-cpi script was dumping core. [...] > Fixes: 1fcd03946b52 ("perf stat: Update per-thread shadow stats") > Signed-off-by: Tony Jones Tested-by: Ravi Bangoria

[PATCH] perf script: fix crash when processing recorded stat data

2019-01-20 Thread Tony Jones
While updating Perf to work with Python3 and Python2 I noticed that the stat-cpi script was dumping core. $ perf stat -e cycles,instructions record -o /tmp/perf.data /bin/false Performance counter stats for '/bin/false': 802,148 cycles 604,622 instructions