aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2021-06-10 20:48:39 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-06-18 15:23:42 +0300
commitf5d6e39eb2a933a1734cd8a620c8bcd52c4a0947 (patch)
tree8a37972b823281b83ac96f79835ea53d367c5a1b /tools/perf/scripts/python/export-to-postgresql.py
parenthabanalabs: Fix an error handling path in 'hl_pci_probe()' (diff)
downloadlinux-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