aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/proc/fd-003-kthread.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2019-03-05 15:50:39 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-05 21:07:22 -0800
commite483b0208784146864a2c195e316230647e9d297 (patch)
treebb55713074b209ccae7d26bab4395f2ebaad3128 /tools/testing/selftests/proc/fd-003-kthread.c
parentproc: use seq_puts() everywhere (diff)
downloadlinux-dev-e483b0208784146864a2c195e316230647e9d297.tar.xz
linux-dev-e483b0208784146864a2c195e316230647e9d297.zip
proc: test /proc/*/maps, smaps, smaps_rollup, statm
Start testing VM related fiels found in per-process files. Do it by jiting small executable which brings its address space to precisely known state, then comparing /proc/*/maps, smaps, smaps_rollup, and statm files to expected values. Currently only x86_64 is supported. [adobriyan@gmail.com: exit correctly in /proc/*/maps test] Link: http://lkml.kernel.org/r/20190206073659.GB15311@avx2 Link: http://lkml.kernel.org/r/20190203165806.GA14568@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/proc/fd-003-kthread.c')
0 files changed, 0 insertions, 0 deletions