diff options
author | Peter Zijlstra <[email protected]> | 2018-03-15 17:36:56 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-03-16 15:34:10 +0100 |
commit | 7eb709f29593aced51901cb53565477762800722 (patch) | |
tree | 371518d324b8f80cf1882ee85e396ebd4064504a /tools/perf/util/trace-event-scripting.c | |
parent | 32ff77e8cc9e66cc4fb38098f64fd54cc8f54573 (diff) |
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: 8343aae66167 ("perf/core: Remove perf_event::group_entry")
Reported-by: Mark Rutland <[email protected]>
Suggested-by: Mark Rutland <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions