From d66eb53ffd1ad3b38c2bda9a299c2613d5d4a72e Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Mon, 3 Feb 2020 11:50:31 -0800 Subject: [PATCH] ANDROID: GKI: perf: Add field for struct perf_event Adds the new struct variable "readable_on_cpus" to reduce the ABI diff. The Full feature is under commit f994cb43aa705 ("perf/core: Add support for PMUs that can be read from more than 1 CPU"). Bug: 148872640 Test: compile test (cherry picked from commit f994cb43aa705bb5301c83dae36a1f12fe11c3cd) [Only cherry-picked the ABI difference] Signed-off-by: Will McVicker Change-Id: If46a71163efde2245e955b23da58550e21082e62 --- include/linux/perf_event.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index e07446c5546a..c168a91ef6d7 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -648,6 +648,7 @@ struct perf_event { int oncpu; int cpu; + cpumask_t readable_on_cpus; struct list_head owner_entry; struct task_struct *owner;