summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorFriedrich Vock <friedrich.vock@gmx.de>2023-02-02 17:21:03 +0100
committerAlex Deucher <alexander.deucher@amd.com>2023-02-08 17:36:44 -0500
commit0082e2fcd71c13208fcedd75b0599ff09cb5a940 (patch)
tree150637e93b3eba416e495c53ba0a9c93329b4b70 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent35e67ca67635d48ce373ae51f93e4672216adc9d (diff)
drm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptes
The pid field corresponds to the result of gettid() in userspace. However, userspace cannot reliably attribute PTE events to processes with just the thread id. This patch allows userspace to easily attribute PTE update events to specific processes by comparing this field with the result of getpid(). For attributing events to specific threads, the thread id is also contained in the common fields of each trace event. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Friedrich Vock <friedrich.vock@gmx.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions