aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTan Xiaojun <[email protected]>2015-10-14 09:49:24 +0800
committerBorislav Petkov <[email protected]>2015-10-14 18:50:32 +0200
commit30f84a891bf6dc7ffb9c0d0f3361ca6375633ac1 (patch)
treeb930629ab7765f7657de650c43eeb59780812364 /tools/perf/scripts/python/stackcollapse.py
parent90b3b37383fd083481655d5529686ca4eda4da2b (diff)
EDAC: Use edac_debugfs_remove_recursive()
debugfs_remove() is used to remove a file or a directory from the debugfs filesystem, but mci->debugfs might not empty. This can be triggered by the following sequence: 1) Enable CONFIG_EDAC_DEBUG 2) insmod an EDAC module (like i3000_edac or similar) 3) rmmod this module 4) we can see files remaining under <debugfs_mountpoint>/edac/ like "fake_inject", for example. Removing edac_core then, causes a NULL pointer dereference. Reported-by: Yun Wu (Abel) <[email protected]> Signed-off-by: Tan Xiaojun <[email protected]> Cc: Doug Thompson <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions