linux-stable/kernel/events
Alexander Shishkin 18736eef12 perf: Copy parent's address filter offsets on clone
When a child event is allocated in the inherit_event() path, the VMA
based filter offsets are not copied from the parent, even though the
address space mapping of the new task remains the same, which leads to
no trace for the new task until exec.

Reported-by: Mansour Alharthi <malharthi9@gatech.edu>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Tested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Fixes: 375637bc52 ("perf/core: Introduce address range filtering")
Link: http://lkml.kernel.org/r/20190215115655.63469-2-alexander.shishkin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-02-22 16:52:07 -03:00
..
callchain.c perf/core: Convert to SPDX license identifiers 2019-02-04 08:46:11 +01:00
core.c perf: Copy parent's address filter offsets on clone 2019-02-22 16:52:07 -03:00
hw_breakpoint.c perf/hw_breakpoints: Convert to SPDX license identifier 2019-02-04 08:46:13 +01:00
internal.h perf/ring_buffer: Convert ring_buffer.aux_refcount to refcount_t 2019-02-04 08:46:17 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ring_buffer.c perf/aux: Make perf_event accessible to setup_aux() 2019-02-06 10:00:39 -03:00
uprobes.c perf/uprobes: Convert to SPDX license identifier 2019-02-04 08:46:13 +01:00