diff options
author | 2017-11-27 18:29:50 -0500 | |
---|---|---|
committer | 2017-11-27 18:29:50 -0500 | |
commit | c7b1243eef128c49aabdfab71cd4f5ecb6602d97 (patch) | |
tree | 3f87a9bd0228506b0366328aad0c68297e39fb6b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdkfd: Add debugfs support to KFD (diff) | |
download | wireguard-linux-c7b1243eef128c49aabdfab71cd4f5ecb6602d97.tar.xz wireguard-linux-c7b1243eef128c49aabdfab71cd4f5ecb6602d97.zip |
drm/amdkfd: Get reference to lead_thread task struct
Increment the kfd_process.lead_thread's reference counter to make
it safe to dereference. This is needed for getting a safe reference
to the process' mm_struct.
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