aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDafna Hirschfeld <dhirschfeld@habana.ai>2022-05-19 10:54:30 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-07-12 09:09:21 +0300
commit78d503087be190eab36290644ccec050135e7c70 (patch)
treefb2bd683e28803723dee559e7c0386f9cd254338 /tools/perf/scripts/python/event_analyzing_sample.py
parenthabanalabs: Fix kernel-doc (diff)
downloadlinux-78d503087be190eab36290644ccec050135e7c70.tar.gz
linux-78d503087be190eab36290644ccec050135e7c70.zip
habanalabs: add terminating NULL to attrs arrays
Arrays of struct attribute are expected to be NULL terminated. This is required by API methods such as device_add_groups. This fixes a crash when loading the driver for Goya device. Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions