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 the kernel mappings and the following debugfs files will be
17 created. This can only be successfully done once per boot. Once
18 memory is successfully removed from each node, the following
21 What: /sys/kernel/debug/powerpc/memtrace/<node-id>
24 Contact: linuxppc-dev@lists.ozlabs.org
25 Description: This directory contains information about the removed memory
26 from the specific NUMA node.
28 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/size
31 Contact: linuxppc-dev@lists.ozlabs.org
32 Description: This contains the size of the memory removed from the node.
34 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/start
37 Contact: linuxppc-dev@lists.ozlabs.org
38 Description: This contains the start address of the removed memory.
40 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/trace
43 Contact: linuxppc-dev@lists.ozlabs.org
44 Description: This is where the hardware trace macro will output the trace