aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2022-01-26 10:15:38 +0200
committerTvrtko Ursulin <[email protected]>2022-02-07 12:56:49 +0000
commiteb48d42198792f1330bbb3e82ac725d43c13fe02 (patch)
tree3f77be6ce0da51caab21f9ebb592b06d642a0051 /tools/perf/scripts/python/bin/stackcollapse-record
parentdfd42facf1e4ada021b939b4e19c935dcdd55566 (diff)
drm/i915: Fix oops due to missing stack depot
We call __save_depot_stack() unconditionally so the stack depot must always be initialized or else we'll oops on platforms without runtime pm support. Presumably we've not seen this in CI due to stack_depot_init() already getting called via drm_mm_init()+CONFIG_DRM_DEBUG_MM. Cc: Vlastimil Babka <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Marco Elver <[email protected]> # stackdepot Cc: Chris Wilson <[email protected]> Cc: Imre Deak <[email protected]> Fixes: 2dba5eb1c73b ("lib/stackdepot: allow optional init and stack_table allocation by kvmalloc()") Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Acked-by: Vlastimil Babka <[email protected]> Reviewed-by: Imre Deak <[email protected]> (cherry picked from commit 751a9d69b19702af35b0fedfb8ff362027c1cf0c) Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions