[RFC 0/4] BloodTest: kernel status

From: Hui Zhu
Date: Fri Oct 13 2017 - 04:57:29 EST


BloodTest: an interface to call other analysing tools

Linux kernel has a lot of analysing tools, perf, ftrace, systemtap, KGTP
and so on.
And kernel also supplies a lot of internal value from procfs and sysfs
to analyse the performance.

Sometime, user need get performance infomation quickly, low overhead and
full coverage.
BloodTest is for it.
It is a interface can acess function of other analysing tools and
records to internal buffer that user or application can access very
quickly (mmap).

Now, BloodTest just support record cpu, perf and task infomation in
one seconds.

Hui Zhu (2):
BloodTest: kernel status
BloodTest: perf
Module: add /proc/modules_update_version
BloodTest: task

fs/proc/stat.c | 8
include/linux/bloodtest.h | 10
include/linux/kernel_stat.h | 3
init/Kconfig | 3
kernel/Makefile | 2
kernel/bloodtest/Makefile | 3
kernel/bloodtest/core.c | 132 +++++++++
kernel/bloodtest/internal.h | 61 ++++
kernel/bloodtest/kernel_stat.c | 62 ++++
kernel/bloodtest/pages.c | 266 ++++++++++++++++++
kernel/bloodtest/perf.c | 576 +++++++++++++++++++++++++++++++++++++++++
kernel/bloodtest/task.c | 447 +++++++++++++++++++++++++++++++
kernel/exit.c | 4
kernel/module.c | 19 +
14 files changed, 1592 insertions(+), 4 deletions(-)