diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2017-11-28 02:29:50 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2017-11-28 02:29:50 +0300 |
commit | c7b1243eef128c49aabdfab71cd4f5ecb6602d97 (patch) | |
tree | 3f87a9bd0228506b0366328aad0c68297e39fb6b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 851a645efd0fee7f27819ab30f3b353bace3cd98 (diff) | |
download | linux-c7b1243eef128c49aabdfab71cd4f5ecb6602d97.tar.xz |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions