linux/drivers/perf
Peter Zijlstra 7eb709f295 perf: Fix sibling iteration
Mark noticed that the change to sibling_list changed some iteration
semantics; because previously we used group_list as list entry,
sibling events would always have an empty sibling_list.

But because we now use sibling_list for both list head and list entry,
siblings will report as having siblings.

Fix this with a custom for_each_sibling_event() iterator.

Fixes: 8343aae661 ("perf/core: Remove perf_event::group_entry")
Reported-by: Mark Rutland <mark.rutland@arm.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: vincent.weaver@maine.edu
Cc: alexander.shishkin@linux.intel.com
Cc: torvalds@linux-foundation.org
Cc: alexey.budankov@linux.intel.com
Cc: valery.cherepennikov@intel.com
Cc: eranian@google.com
Cc: acme@redhat.com
Cc: linux-tip-commits@vger.kernel.org
Cc: davidcc@google.com
Cc: kan.liang@intel.com
Cc: Dmitry.Prohorov@intel.com
Cc: jolsa@redhat.com
Link: https://lkml.kernel.org/r/20180315170129.GX4043@hirez.programming.kicks-ass.net
2018-03-16 15:34:10 +01:00
..
hisilicon perf: Fix sibling iteration 2018-03-16 15:34:10 +01:00
Kconfig perf: ARM DynamIQ Shared Unit PMU support 2018-01-02 16:43:12 +00:00
Makefile perf: ARM DynamIQ Shared Unit PMU support 2018-01-02 16:43:12 +00:00
arm_dsu_pmu.c perf: Fix sibling iteration 2018-03-16 15:34:10 +01:00
arm_pmu.c perf: Fix sibling iteration 2018-03-16 15:34:10 +01:00
arm_pmu_acpi.c arm_pmu: acpi: request IRQs up-front 2018-02-20 11:34:54 +00:00
arm_pmu_platform.c arm_pmu: acpi: request IRQs up-front 2018-02-20 11:34:54 +00:00
arm_spe_pmu.c perf: arm_spe: Fail device probe when arm64_kernel_unmapped_at_el0() 2017-12-11 13:41:13 +00:00
qcom_l2_pmu.c perf: Fix sibling iteration 2018-03-16 15:34:10 +01:00
qcom_l3_pmu.c perf: Fix sibling iteration 2018-03-16 15:34:10 +01:00
xgene_pmu.c perf: Fix sibling iteration 2018-03-16 15:34:10 +01:00