diff options
| author | Tomer Tayar <[email protected]> | 2021-06-10 20:48:39 +0300 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2021-06-18 15:23:42 +0300 |
| commit | f5d6e39eb2a933a1734cd8a620c8bcd52c4a0947 (patch) | |
| tree | 8a37972b823281b83ac96f79835ea53d367c5a1b /tools/perf/scripts/python | |
| parent | 3002f467a0b0a70aec01d9f446da4ac8c6fda10b (diff) | |
habanalabs: print more info when failing to pin user memory
pin_user_pages_fast() might fail and return a negative number, or pin
less pages than requested and return the number of the pages that were
pinned.
For the latter, it is informative to print also the memory size and the
number of requested pages.
Signed-off-by: Tomer Tayar <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions