aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2020-03-23 15:49:09 +0100
committerDaniel Vetter <[email protected]>2020-03-26 15:18:11 +0100
commitea3aa6203c6b5540c80527d6beae68063a0080c1 (patch)
tree09e54741f863da5b88150f0f514787a1dc78b09a /tools/perf/scripts/python/bin/stackcollapse-report
parentb6097727ae57dc782900e5955ac03c5d6158b28d (diff)
drm/v3d: Use drmm_add_final_kfree
With this we can drop the final kfree from the release function. I also noticed that the unwind code is wrong, after drm_dev_init the drm_device owns the v3d allocation, so the kfree(v3d) is a double-free. Reorder the setup to fix this issue. After a bit more prep in drivers and drm core v3d should be able to switch over to devm_drm_dev_init, which should clean this up further. Acked-by: Eric Anholt <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Cc: Eric Anholt <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions