summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-07-06 12:32:03 -0700
committerAndrew Morton <akpm@linux-foundation.org>2025-07-13 16:38:34 -0700
commit2780505ec2b42c07853b34640bc63279ac2bb53b (patch)
treee0fa75fd5278824edcf3816a331c0357d02d1767 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent0ed1165c37277822b519f519d0982d36efc30006 (diff)
samples/damon/prcl: fix boot time enable crash
If 'enable' parameter of the 'prcl' DAMON sample module is set at boot time via the kernel command line, memory allocation is tried before the slab is initialized. As a result kernel NULL pointer dereference BUG can happen. Fix it by checking the initialization status. Link: https://lkml.kernel.org/r/20250706193207.39810-3-sj@kernel.org Fixes: 2aca254620a8 ("samples/damon: introduce a skeleton of a smaple DAMON module for proactive reclamation") Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions