1 What: /sys/kernel/debug/powerpc/memtrace
4 Contact: linuxppc-dev@lists.ozlabs.org
5 Description: This folder contains the relevant debugfs files for the
6 hardware trace macro to use. CONFIG_PPC64_HARDWARE_TRACING
9 What: /sys/kernel/debug/powerpc/memtrace/enable
12 Contact: linuxppc-dev@lists.ozlabs.org
13 Description: Write an integer containing the size in bytes of the memory
14 you want removed from each NUMA node to this file - it must be
15 aligned to the memblock size. This amount of RAM will be removed
16 from each NUMA node in the kernel mappings and the following
17 debugfs files will be created. Once memory is successfully
18 removed from each node, the following files are created. To
19 re-add memory to the kernel, echo 0 into this file (it will be
20 automatically onlined).
22 What: /sys/kernel/debug/powerpc/memtrace/<node-id>
25 Contact: linuxppc-dev@lists.ozlabs.org
26 Description: This directory contains information about the removed memory
27 from the specific NUMA node.
29 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/size
32 Contact: linuxppc-dev@lists.ozlabs.org
33 Description: This contains the size of the memory removed from the node.
35 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/start
38 Contact: linuxppc-dev@lists.ozlabs.org
39 Description: This contains the start address of the removed memory.
41 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/trace
44 Contact: linuxppc-dev@lists.ozlabs.org
45 Description: This is where the hardware trace macro will output the trace