diff options
| author | Tomer Tayar <[email protected]> | 2023-01-18 17:35:17 +0200 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2023-03-15 13:29:12 +0200 |
| commit | d43bce6e762f25b25685487630510452feaf7362 (patch) | |
| tree | 51e3fb724942476cfa9a1fde12f1352bd4ebbcbc /tools/perf/scripts/python | |
| parent | c0e6df916050dbc71450d20e8df6712c2ebe83e8 (diff) | |
accel/habanalabs: add info when FD released while device still in use
When user closes the device file descriptor, it is checked whether the
device is still in use, and a message is printed if it is.
To make this message more informative, add to this print also the reason
due to which the device is considered as in use.
The possible reasons which are checked for now are active CS and
exported dma-buf.
Signed-off-by: Tomer Tayar <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Reviewed-by: Stanislaw Gruszka <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions