[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230614032038.11699-1-Wei-chin.Tsai@mediatek.com>
Date: Wed, 14 Jun 2023 11:20:32 +0800
From: Wei Chin Tsai <Wei-chin.Tsai@...iatek.com>
To: <linux-kernel@...r.kernel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
CC: <wsd_upstream@...iatek.com>, <wei-chin.tsai@...iatek.com>,
<mel.lee@...iatek.com>, <ivan.tseng@...iatek.com>,
Wei Chin Tsai <Wei-chin.Tsai@...iatek.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>
Subject: [PATCH v2 0/3] export symbols for process and memory related functions
v1 -> v2: Add export symbol for "smap_gather_stats" and "arch_vma_name".
Modify the mbraink_main.c class and device register flow.
v1: Export symbol for "sched_process_fork" and "sched_process_exit".
attached the mediatek_mbraink data collect driver which uses
these export symbols.
Wei Chin Tsai (3):
kernel : process fork/exit: export symbol for fork/exit tracing
functions
memory: export symbols for memory related functions
misc : mediatek_mbraink : Collect the system process and memory data
arch/arm/kernel/process.c | 1 +
drivers/misc/mediatek_mbraink/Kconfig | 15 +
drivers/misc/mediatek_mbraink/Makefile | 5 +
drivers/misc/mediatek_mbraink/mbraink_data.c | 417 ++++++++++++++++++
drivers/misc/mediatek_mbraink/mbraink_data.h | 66 +++
.../mbraink_ioctl_struct_define.h | 44 ++
drivers/misc/mediatek_mbraink/mbraink_main.c | 239 ++++++++++
drivers/misc/mediatek_mbraink/mbraink_main.h | 36 ++
fs/proc/task_mmu.c | 5 +-
kernel/exit.c | 2 +
kernel/fork.c | 2 +
kernel/signal.c | 1 +
12 files changed, 831 insertions(+), 2 deletions(-)
create mode 100644 drivers/misc/mediatek_mbraink/Kconfig
create mode 100644 drivers/misc/mediatek_mbraink/Makefile
create mode 100644 drivers/misc/mediatek_mbraink/mbraink_data.c
create mode 100644 drivers/misc/mediatek_mbraink/mbraink_data.h
create mode 100644 drivers/misc/mediatek_mbraink/mbraink_ioctl_struct_define.h
create mode 100644 drivers/misc/mediatek_mbraink/mbraink_main.c
create mode 100644 drivers/misc/mediatek_mbraink/mbraink_main.h
--
2.18.0
Powered by blists - more mailing lists