• P
    perf: Fix orphan hole · 78cd2c74
    Peter Zijlstra 提交于
    We should set event->owner before we install the event,
    otherwise there is a hole where the target task can fork() and
    we'll not inherit the event because it thinks the event is
    orphaned.
    Signed-off-by: NPeter Zijlstra <peterz@infradead.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: NIngo Molnar <mingo@kernel.org>
    78cd2c74
core.c 220.2 KB