diff options
author | 2021-06-10 20:48:39 +0300 | |
---|---|---|
committer | 2021-06-18 15:23:42 +0300 | |
commit | f5d6e39eb2a933a1734cd8a620c8bcd52c4a0947 (patch) | |
tree | 8a37972b823281b83ac96f79835ea53d367c5a1b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | habanalabs: Fix an error handling path in 'hl_pci_probe()' (diff) | |
download | linux-dev-f5d6e39eb2a933a1734cd8a620c8bcd52c4a0947.tar.xz linux-dev-f5d6e39eb2a933a1734cd8a620c8bcd52c4a0947.zip |
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 <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions