Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 21561f0a authored by Alexander Shishkin's avatar Alexander Shishkin Committed by Yabin Cui
Browse files

BACKPORT: perf: Copy parent's address filter offsets on clone



Backport: context code is different from upstream.

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: default avatarMansour Alharthi <malharthi9@gatech.edu>
Signed-off-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
Tested-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Fixes: 375637bc ("perf/core: Introduce address range filtering")
Link: http://lkml.kernel.org/r/20190215115655.63469-2-alexander.shishkin@linux.intel.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>

(Upstream commit 18736eef12137c59f60cc9f56dc5bea05c92e0eb).

Bug: 140266694
Change-Id: I02acd373cb1ce44c13de8806eff229a56f0062fc
Signed-off-by: default avatarYabin Cui <yabinc@google.com>
parent 6db42003
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment