diff options
author | 2019-08-28 21:51:52 +0300 | |
---|---|---|
committer | 2019-09-05 14:55:27 +0300 | |
commit | e9730763a21a5441d46511f124d703d76a5ef6e6 (patch) | |
tree | deef505ba53d06f1e410ea003be55aaa274de603 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | habanalabs: add uapi to retrieve device utilization (diff) | |
download | linux-dev-e9730763a21a5441d46511f124d703d76a5ef6e6.tar.xz linux-dev-e9730763a21a5441d46511f124d703d76a5ef6e6.zip |
habanalabs: add uapi to retrieve aggregate H/W events
Add a new opcode to INFO IOCTL to retrieve aggregate H/W events. i.e. the
events counters are NOT cleared upon device reset, but count from the
loading of the driver.
Add the code to support it in the device event handling function.
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Omer Shpigelman <oshpigelman@habana.ai>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions