BACKPORT: perf/aux: Make perf_event accessible to setup_aux()
Backport: drop changes to perf_cpum_sf.c and arm_spe_pmu.c as setup_aux() hasn't been used in them. When pmu::setup_aux() is called the coresight PMU needs to know which sink to use for the session by looking up the information in the event's attr::config2 field. As such simply replace the cpu information by the complete perf_event structure and change all affected customers. Signed-off-by:Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by:
Suzuki K Poulose <suzuki.poulose@arm.com> Acked-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (Upstream commit e11a5795cb7cd1e25bbd1697baa109943938c0f6). Bug: 140266694 Change-Id: I29dd9ff70e84372cd02b6e65efe25323c0ed7ba0 Signed-off-by:
Yabin Cui <yabinc@google.com>
Loading
Please register or sign in to comment