[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1507884965-31476-1-git-send-email-zhuhui@xiaomi.com>
Date: Fri, 13 Oct 2017 16:56:01 +0800
From: Hui Zhu <zhuhui@...omi.com>
To: <linux-kernel@...r.kernel.org>
CC: <teawater@...il.com>, Hui Zhu <zhuhui@...omi.com>
Subject: [RFC 0/4] BloodTest: kernel status
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(-)
Powered by blists - more mailing lists