aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDamian Muszynski <[email protected]>2024-02-02 18:53:16 +0800
committerHerbert Xu <[email protected]>2024-02-09 12:57:18 +0800
commite2b67859ab6efd4458bda1baaee20331a367d995 (patch)
treee0915b3f92006e9037c7f970abd38b960b4c14b5 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent633eeefab69ed4bdfa3f1d375c609e87feb1c55a (diff)
crypto: qat - add heartbeat error simulator
Add a mechanism that allows to inject a heartbeat error for testing purposes. A new attribute `inject_error` is added to debugfs for each QAT device. Upon a write on this attribute, the driver will inject an error on the device which can then be detected by the heartbeat feature. Errors are breaking the device functionality thus they require a device reset in order to be recovered. This functionality is not compiled by default, to enable it CRYPTO_DEV_QAT_ERROR_INJECTION must be set. Signed-off-by: Damian Muszynski <[email protected]> Reviewed-by: Giovanni Cabiddu <[email protected]> Reviewed-by: Lucas Segarra Fernandez <[email protected]> Reviewed-by: Ahsan Atta <[email protected]> Reviewed-by: Markas Rapoportas <[email protected]> Signed-off-by: Mun Chun Yep <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions