summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShuicheng Lin <shuicheng.lin@intel.com>2026-01-30 04:39:08 +0000
committerMatt Roper <matthew.d.roper@intel.com>2026-02-02 10:09:48 -0800
commitc2a6859138e7f73ad904be17dd7d1da6cc7f06b3 (patch)
tree3119bf17e66269b257e020fdfe14845eaa5510d8 /tools/perf/scripts/python/stackcollapse.py
parent568d9d0d83f5b55144c4486fefe26bd132a66ea1 (diff)
drm/xe/query: Fix topology query pointer advance
The topology query helper advanced the user pointer by the size of the pointer, not the size of the structure. This can misalign the output blob and corrupt the following mask. Fix the increment to use sizeof(*topo). There is no issue currently, as sizeof(*topo) happens to be equal to sizeof(topo) on 64-bit systems (both evaluate to 8 bytes). Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs") Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patch.msgid.link/20260130043907.465128-2-shuicheng.lin@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions