[PATCH 04/10] perf python: Fix pyrf_evlist__read_on_cpu event consuming

2016-07-10 Thread Jiri Olsa
We can't consume the event before parsing it. Under heavy load we could get caught by kernel writer overwriting the event we're trying to parse. Link: http://lkml.kernel.org/n/tip-8dbalvrufeisa4cioyd9k...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/python.c | 6

[PATCH 04/10] perf python: Fix pyrf_evlist__read_on_cpu event consuming

2016-07-10 Thread Jiri Olsa
We can't consume the event before parsing it. Under heavy load we could get caught by kernel writer overwriting the event we're trying to parse. Link: http://lkml.kernel.org/n/tip-8dbalvrufeisa4cioyd9k...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/python.c | 6 -- 1 file