diff options
author | 2016-07-10 13:07:56 +0200 | |
---|---|---|
committer | 2016-07-12 16:16:44 -0300 | |
commit | e8968e654191390a1300f0847250353a1c9da30d (patch) | |
tree | 1cf0c700b38d1e139f730f3059ad86743dd2266a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf python: Init perf_event_attr::size in perf.evsel constructor (diff) | |
download | wireguard-linux-e8968e654191390a1300f0847250353a1c9da30d.tar.xz wireguard-linux-e8968e654191390a1300f0847250353a1c9da30d.zip |
perf python: Fix pyrf_evlist__read_on_cpu event consuming
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.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1468148882-10362-5-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions