aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJie Gan <quic_jiegan@quicinc.com>2024-08-12 12:28:44 +0800
committerSuzuki K Poulose <suzuki.poulose@arm.com>2024-08-19 16:32:06 +0100
commite6b64cda393efd84709ab3df2e42d36d36d7553e (patch)
tree46da82106624e8624b53468e7feb1e34a051f54f /tools/perf/scripts/python/export-to-sqlite.py
parent14f5fa9b5fcbe2b3d5098893aba6ad62254d2ef6 (diff)
Coresight: Set correct cs_mode for dummy source to fix disable issue
The coresight_disable_source_sysfs function should verify the mode of the coresight device before disabling the source. However, the mode for the dummy source device is always set to CS_MODE_DISABLED, resulting in the check consistently failing. As a result, dummy source cannot be properly disabled. Configure CS_MODE_SYSFS/CS_MODE_PERF during the enablement. Configure CS_MODE_DISABLED during the disablement. Fixes: 9d3ba0b6c056 ("Coresight: Add coresight dummy driver") Signed-off-by: Jie Gan <quic_jiegan@quicinc.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20240812042844.2890115-1-quic_jiegan@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions