[PATCH v2 0/3] export symbols for process and memory related functions
Wei Chin Tsai
Wei-chin.Tsai at mediatek.com
Tue Jun 13 20:20:32 PDT 2023
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
More information about the linux-arm-kernel
mailing list