diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-07-01 13:54:58 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-07-02 09:22:26 -0300 |
commit | ff898552fb32d255517fb0676f9fa500664c484d (patch) | |
tree | 9a8bd64164f33f9a8bd0272083f0fbb9c48ee653 /virt/kvm/dirty_ring.c | |
parent | 363afa3aef24f5e08df6a539f5dc3aae4cddcc1a (diff) |
perf synthetic-events: Ignore dead threads during event synthesis
When it synthesize various task events, it scans the list of task
first and then accesses later. There's a window threads can die
between the two and proc entries may not be available.
Instead of bailing out, we can ignore that thread and move on.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20220701205458.985106-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'virt/kvm/dirty_ring.c')
0 files changed, 0 insertions, 0 deletions