1 What: /sys/kernel/debug/powerpc/memtrace 2 Date: Aug 2017 3 KernelVersion: 4.14 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 7 must be set. 8 9 What: /sys/kernel/debug/powerpc/memtrace/enable 10 Date: Aug 2017 11 KernelVersion: 4.14 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). 21 22 What: /sys/kernel/debug/powerpc/memtrace/<node-id> 23 Date: Aug 2017 24 KernelVersion: 4.14 25 Contact: linuxppc-dev@lists.ozlabs.org 26 Description: This directory contains information about the removed memory 27 from the specific NUMA node. 28 29 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/size 30 Date: Aug 2017 31 KernelVersion: 4.14 32 Contact: linuxppc-dev@lists.ozlabs.org 33 Description: This contains the size of the memory removed from the node. 34 35 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/start 36 Date: Aug 2017 37 KernelVersion: 4.14 38 Contact: linuxppc-dev@lists.ozlabs.org 39 Description: This contains the start address of the removed memory. 40 41 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/trace 42 Date: Aug 2017 43 KernelVersion: 4.14 44 Contact: linuxppc-dev@lists.ozlabs.org 45 Description: This is where the hardware trace macro will output the trace 46 it generates.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.