aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOhad Sharabi <osharabi@habana.ai>2021-05-29 23:26:10 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-06-18 15:23:41 +0300
commit6a785e368a675008dc7a09938480a07ac1aa8956 (patch)
tree1d4bdeeafcfd2fb1005fd27afed502ba908ca17e /tools/perf/scripts/python/export-to-postgresql.py
parenthabanalabs: reset device upon FD close if not idle (diff)
downloadlinux-dev-6a785e368a675008dc7a09938480a07ac1aa8956.tar.xz
linux-dev-6a785e368a675008dc7a09938480a07ac1aa8956.zip
habanalabs: skip valid test for boot_dev_sts regs
Get rid of the need to check if boot_dev_sts is valid on every access to value read from these registers. This is done by storing the register value in hdev props ONLY if register is enabled. This way if register is NOT enabled all capability bits will not be set. Signed-off-by: Ohad Sharabi <osharabi@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