aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFriedrich Vock <[email protected]>2023-02-02 17:21:03 +0100
committerAlex Deucher <[email protected]>2023-02-08 17:36:44 -0500
commit0082e2fcd71c13208fcedd75b0599ff09cb5a940 (patch)
tree150637e93b3eba416e495c53ba0a9c93329b4b70 /tools/perf/scripts/python/export-to-sqlite.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 <[email protected]> Signed-off-by: Friedrich Vock <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions