aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2022-11-17 18:57:49 +0200
committerOded Gabbay <ogabbay@kernel.org>2022-11-23 16:49:10 +0200
commit1b18cf33d6ce63a9f5fe3764d7b20c4738dd1245 (patch)
tree29a89c7d95166805a21c3a54676391ef0eaa949c /tools/perf/scripts/python/export-to-postgresql.py
parent893afb248c7a1f24d17719a5e5f4fe4174ecb60c (diff)
habanalabs: make print of engines idle mask more readable
The engines idle mask was increased to be an array of 4 u64 entries. To make the print of this mask more readable, remove the "0x" prefix, and zero-pad each u64 to 16 bytes if either it isn't zero or if any of the higher-order u64's is not zero. 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