Events should only be added to a groups rb tree if they have not been
removed from their context by list_del_event(). Since remove_on_exec
made it possible to call list_del_event() on individual events before
they are detached from their group, perf_group_detach() should check each
sibling's attach_state before calling add_event_to_groups() on it.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| callchain.c | ||
| core.c | ||
| hw_breakpoint.c | ||
| hw_breakpoint_test.c | ||
| internal.h | ||
| ring_buffer.c | ||
| uprobes.c | ||