aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYong Zhao <yong.zhao@amd.com>2017-11-27 18:29:53 -0500
committerOded Gabbay <oded.gabbay@gmail.com>2017-11-27 18:29:53 -0500
commit82c16b4280bc42bc035af566e1480d88666126b1 (patch)
treeec3b349dea399034994f9593c58ff39413653249 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/amdkfd: Use ref count to prevent kfd_process destruction (diff)
downloadwireguard-linux-82c16b4280bc42bc035af566e1480d88666126b1.tar.xz
wireguard-linux-82c16b4280bc42bc035af566e1480d88666126b1.zip
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions