diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2020-07-23 20:11:10 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-08-18 17:34:36 +0300 |
commit | 9f0c4fa111dc909ca545c45ea20ec84da555ce16 (patch) | |
tree | 8844a4fa766a0e13506fa6dd81d5fd428df31bb1 /arch/x86/include | |
parent | 58da7dbe6f036fefe504a4bb452afbd39bba73f7 (diff) | |
download | linux-9f0c4fa111dc909ca545c45ea20ec84da555ce16.tar.xz |
perf/core: Add a new PERF_EV_CAP_SIBLING event capability
Current perf assumes that events in a group are independent. Close an
event doesn't impact the value of the other events in the same group.
If the closed event is a member, after the event closure, other events
are still running like a group. If the closed event is a leader, other
events are running as singleton events.
Add PERF_EV_CAP_SIBLING to allow events to indicate they require being
part of a group, and when the leader dies they cannot exist
independently.
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200723171117.9918-8-kan.liang@linux.intel.com
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions