summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYong Zhao <yong.zhao@amd.com>2017-11-28 02:29:53 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2017-11-28 02:29:53 +0300
commit82c16b4280bc42bc035af566e1480d88666126b1 (patch)
treeec3b349dea399034994f9593c58ff39413653249 /tools/perf/scripts/python/exported-sql-viewer.py
parentabb208a8d490bac9d765c45f20cf306757733778 (diff)
downloadlinux-82c16b4280bc42bc035af566e1480d88666126b1.tar.xz
drm/amdkfd: Return NULL if kfd_lookup_process_by_pasid fails
If no matching process is found, return NULL instead of a pointer to the last process in the kfd_processes_table. Signed-off-by: Yong Zhao <yong.zhao@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions