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>
tirimbino
Raghavendra Rao Ananta 6 years ago
parent 97c227d3e7
commit 361ced01d9
  1. 1
      drivers/perf/qcom_llcc_pmu.c

@ -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…
Cancel
Save