diff options
author | Yuanfang Zhang <quic_yuanfang@quicinc.com> | 2025-06-30 18:26:19 +0800 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-09-02 09:12:58 +0100 |
commit | 12d9a9dd9d8a4f1968073e7f34515896d1e22b78 (patch) | |
tree | 7bfb2c56f8d34244e60ca27f41197ae295340665 /tools/docs/parse-headers.py | |
parent | 08d24e076d0fb9f90522ef69bf6cdae06e0919de (diff) |
coresight: Only register perf symlink for sinks with alloc_buffer
Ensure that etm_perf_add_symlink_sink() is only called for devices
that implement the alloc_buffer operation. This prevents invalid
symlink creation for dummy sinks that do not implement alloc_buffer.
Without this check, perf may attempt to use a dummy sink that lacks
alloc_buffer operationsu to initialise perf's ring buffer, leading
to runtime failures.
Fixes: 9d3ba0b6c0569 ("Coresight: Add coresight dummy driver")
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250630-etm_perf_sink-v1-1-e4a7211f9ad7@quicinc.com
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions