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

Skip to content
Commit b1883d53 authored by Mathieu Poirier's avatar Mathieu Poirier Committed by Yabin Cui
Browse files

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: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(Upstream commit e11a5795cb7cd1e25bbd1697baa109943938c0f6).

Bug: 140266694
Change-Id: I29dd9ff70e84372cd02b6e65efe25323c0ed7ba0
Signed-off-by: default avatarYabin Cui <yabinc@google.com>
parent ebc9e6aa
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