+1
−0
+0
−87
include/trace/events/memory-failure.h
0 → 100644
+98
−0
+0
−1
+4
−1
Loading
commit 97f0b134 ("tracing: add trace event for memory-failure") introduces the selection of RAS in memory-failure. This commit is just a tracing feature; in reality, there is no dependency between memory-failure and RAS. RAS increases the size of the bzImage image by 8k, which is very valuable for embedded devices. Move the memory-failure traceing code from ras_event.h to memory-failure.h and remove the selection of RAS. Link: https://lkml.kernel.org/r/20251119095943.67125-1-xieyuanbin1@huawei.com Signed-off-by:Xie Yuanbin <xieyuanbin1@huawei.com> Acked-by:
David Hildenbrand (Red Hat) <david@kernel.org> Acked-by:
Miaohe Lin <linmiaohe@huawei.com> Cc: Borislav Petkov <bp@alien8.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>