diff options
| author | Jiri Olsa <[email protected]> | 2019-04-16 16:01:23 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-04-17 17:30:11 +0000 |
| commit | adc6257c4a6f23ff97dca8314fcd33828e2d8db5 (patch) | |
| tree | d03a6aa8ffe1c6d6ddc54821e9336ce4208a460e /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | perf tools: Check maps for bpf programs (diff) | |
| download | kernel-adc6257c4a6f23ff97dca8314fcd33828e2d8db5.tar.gz kernel-adc6257c4a6f23ff97dca8314fcd33828e2d8db5.zip | |
perf evlist: Fix side band thread draining
Current perf_evlist__poll_thread() code could finish without draining
the data. Adding the logic that makes sure we won't finish before the
drain.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Fixes: 657ee5531903 ("perf evlist: Introduce side band thread")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
