[PATCH 0/2] perf tools: Fix pyrf_evlist__read_on_cpu interface

From: Jiri Olsa
Date: Fri Aug 17 2018 - 07:46:04 EST


hi,
Jaroslav reported errors from valgrind over perf python script,
which led us to discover serious issue with python interface.

It affects tuned daemon, which depends on this interface,
and makes it hang.

thanks,
jirka


---
Jiri Olsa (2):
perf tools: Store real cpu number in the struct perf_mmap
perf python: Fix pyrf_evlist__read_on_cpu interface

tools/perf/util/evlist.c | 2 +-
tools/perf/util/mmap.c | 4 +++-
tools/perf/util/mmap.h | 4 +++-
tools/perf/util/python.c | 20 +++++++++++++++++++-
4 files changed, 26 insertions(+), 4 deletions(-)