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

Commit d0efeea7 authored by Rama Aparna Mallavarapu's avatar Rama Aparna Mallavarapu
Browse files

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: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
Signed-off-by: default avatarRama Aparna Mallavarapu <aparnam@codeaurora.org>
parent 5c7966cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -149,6 +149,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");