aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMika Kuoppala <[email protected]>2023-06-02 20:27:32 +0300
committerRodrigo Vivi <[email protected]>2023-12-21 11:34:55 -0500
commit5db4afe1db56c10b6edef41ad9309bf0bed87f34 (patch)
treee10e41b283dd6c49c5a381ffd830376cc6496dcc /tools/perf/scripts/python/stackcollapse.py
parent898f86c23c600c8f70bf1a03e81a7be97038a72d (diff)
drm/xe: Fix unreffed ptr leak on engine lookup
The engine xarray holds a ref to engine, guarded by the lock. While we do lookup for engine, we need to take the ref inside the lock to prevent unreffed pointer escaping and causing potential use-after-free after. v2: remove branch prediction hint (Thomas) Cc: Thomas Hellström <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions