1 What: /sys/kernel/debug/powerpc/memt 1 What: /sys/kernel/debug/powerpc/memtrace 2 Date: Aug 2017 2 Date: Aug 2017 3 KernelVersion: 4.14 3 KernelVersion: 4.14 4 Contact: linuxppc-dev@lists.ozlabs.org 4 Contact: linuxppc-dev@lists.ozlabs.org 5 Description: This folder contains the relev 5 Description: This folder contains the relevant debugfs files for the 6 hardware trace macro to use. C 6 hardware trace macro to use. CONFIG_PPC64_HARDWARE_TRACING 7 must be set. 7 must be set. 8 8 9 What: /sys/kernel/debug/powerpc/memt 9 What: /sys/kernel/debug/powerpc/memtrace/enable 10 Date: Aug 2017 10 Date: Aug 2017 11 KernelVersion: 4.14 11 KernelVersion: 4.14 12 Contact: linuxppc-dev@lists.ozlabs.org 12 Contact: linuxppc-dev@lists.ozlabs.org 13 Description: Write an integer containing th 13 Description: Write an integer containing the size in bytes of the memory 14 you want removed from each NUM 14 you want removed from each NUMA node to this file - it must be 15 aligned to the memblock size. 15 aligned to the memblock size. This amount of RAM will be removed 16 from each NUMA node in the ker 16 from each NUMA node in the kernel mappings and the following 17 debugfs files will be created. 17 debugfs files will be created. Once memory is successfully 18 removed from each node, the fo 18 removed from each node, the following files are created. To 19 re-add memory to the kernel, e 19 re-add memory to the kernel, echo 0 into this file (it will be 20 automatically onlined). 20 automatically onlined). 21 21 22 What: /sys/kernel/debug/powerpc/memt 22 What: /sys/kernel/debug/powerpc/memtrace/<node-id> 23 Date: Aug 2017 23 Date: Aug 2017 24 KernelVersion: 4.14 24 KernelVersion: 4.14 25 Contact: linuxppc-dev@lists.ozlabs.org 25 Contact: linuxppc-dev@lists.ozlabs.org 26 Description: This directory contains inform 26 Description: This directory contains information about the removed memory 27 from the specific NUMA node. 27 from the specific NUMA node. 28 28 29 What: /sys/kernel/debug/powerpc/memt 29 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/size 30 Date: Aug 2017 30 Date: Aug 2017 31 KernelVersion: 4.14 31 KernelVersion: 4.14 32 Contact: linuxppc-dev@lists.ozlabs.org 32 Contact: linuxppc-dev@lists.ozlabs.org 33 Description: This contains the size of the 33 Description: This contains the size of the memory removed from the node. 34 34 35 What: /sys/kernel/debug/powerpc/memt 35 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/start 36 Date: Aug 2017 36 Date: Aug 2017 37 KernelVersion: 4.14 37 KernelVersion: 4.14 38 Contact: linuxppc-dev@lists.ozlabs.org 38 Contact: linuxppc-dev@lists.ozlabs.org 39 Description: This contains the start addres 39 Description: This contains the start address of the removed memory. 40 40 41 What: /sys/kernel/debug/powerpc/memt 41 What: /sys/kernel/debug/powerpc/memtrace/<node-id>/trace 42 Date: Aug 2017 42 Date: Aug 2017 43 KernelVersion: 4.14 43 KernelVersion: 4.14 44 Contact: linuxppc-dev@lists.ozlabs.org 44 Contact: linuxppc-dev@lists.ozlabs.org 45 Description: This is where the hardware tra 45 Description: This is where the hardware trace macro will output the trace 46 it generates. 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.