mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
perf: llcc: Preserve events across CPU hotplugs
By default, the perf core detaches the event from the PMU when it's associated CPU hotplugs out. Set flag "events_across_hotplug" to preserve the events created for LLCC PMU to be preserved across hotplugs. Change-Id: Ia4bd4962370dd18fcd4b221905186faadc618ce0 Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
This commit is contained in:
parent
97c227d3e7
commit
361ced01d9
@ -148,6 +148,7 @@ static int qcom_llcc_pmu_probe(struct platform_device *pdev)
|
||||
.start = qcom_llcc_event_start,
|
||||
.stop = qcom_llcc_event_stop,
|
||||
.read = qcom_llcc_event_read,
|
||||
.events_across_hotplug = 1,
|
||||
};
|
||||
|
||||
res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "lagg-base");
|
||||
|
Loading…
x
Reference in New Issue
Block a user