diff options
| author | Ben Gainey <ben.gainey@arm.com> | 2024-10-01 13:15:05 +0100 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2024-10-02 14:58:03 -0700 |
| commit | 90035d3cd876cb71f98868d44ee60f5c5aa5ad69 (patch) | |
| tree | 3466c937feaa806b84204d7e7e5895c9fa489229 /tools/perf/scripts/python/sched-migration.py | |
| parent | 80c281fca252827facd05875b8d9d36d7aad0f8d (diff) | |
tools/perf: Allow inherit + PERF_SAMPLE_READ when opening events
The "perf record" tool will now default to this new mode if the user
specifies a sampling group when not in system-wide mode, and when
"--no-inherit" is not specified.
This change updates evsel to allow the combination of inherit
and PERF_SAMPLE_READ.
A fallback is implemented for kernel versions where this feature is not
supported.
Signed-off-by: Ben Gainey <ben.gainey@arm.com>
Cc: james.clark@arm.com
Link: https://lore.kernel.org/r/20241001121505.1009685-3-ben.gainey@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
