47 lines · plain
1What: /sys/kernel/debug/powerpc/memtrace2Date: Aug 20173KernelVersion: 4.144Contact: linuxppc-dev@lists.ozlabs.org5Description: This folder contains the relevant debugfs files for the6 hardware trace macro to use. CONFIG_PPC64_HARDWARE_TRACING7 must be set.8 9What: /sys/kernel/debug/powerpc/memtrace/enable10Date: Aug 201711KernelVersion: 4.1412Contact: linuxppc-dev@lists.ozlabs.org13Description: Write an integer containing the size in bytes of the memory14 you want removed from each NUMA node to this file - it must be15 aligned to the memblock size. This amount of RAM will be removed16 from each NUMA node in the kernel mappings and the following17 debugfs files will be created. Once memory is successfully18 removed from each node, the following files are created. To19 re-add memory to the kernel, echo 0 into this file (it will be20 automatically onlined).21 22What: /sys/kernel/debug/powerpc/memtrace/<node-id>23Date: Aug 201724KernelVersion: 4.1425Contact: linuxppc-dev@lists.ozlabs.org26Description: This directory contains information about the removed memory27 from the specific NUMA node.28 29What: /sys/kernel/debug/powerpc/memtrace/<node-id>/size30Date: Aug 201731KernelVersion: 4.1432Contact: linuxppc-dev@lists.ozlabs.org33Description: This contains the size of the memory removed from the node.34 35What: /sys/kernel/debug/powerpc/memtrace/<node-id>/start36Date: Aug 201737KernelVersion: 4.1438Contact: linuxppc-dev@lists.ozlabs.org39Description: This contains the start address of the removed memory.40 41What: /sys/kernel/debug/powerpc/memtrace/<node-id>/trace42Date: Aug 201743KernelVersion: 4.1444Contact: linuxppc-dev@lists.ozlabs.org45Description: This is where the hardware trace macro will output the trace46 it generates.47