diff options
| author | Felix Kuehling <Felix.Kuehling@amd.com> | 2017-11-27 18:29:50 -0500 |
|---|---|---|
| committer | Oded Gabbay <oded.gabbay@gmail.com> | 2017-11-27 18:29:50 -0500 |
| commit | c7b1243eef128c49aabdfab71cd4f5ecb6602d97 (patch) | |
| tree | 3f87a9bd0228506b0366328aad0c68297e39fb6b /scripts/gdb/linux/utils.py | |
| parent | 851a645efd0fee7f27819ab30f3b353bace3cd98 (diff) | |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
