The invention relates to a process wake-up relation
tracking system and method based on an eBPF, and belongs to the technical field of computer
system performance analysis, the process wake-up relation
tracking system comprises a kernel mode BPF program and a user mode
processing program, the kernel mode BPF program is deployed in a
Linux kernel and is used for capturing a process wake-up event and recording a wake-up relation; the user mode
processing program runs in a
user space and is used for reading and analyzing data collected by the kernel mode BPF program; according to the method, the BPF program is deployed in the
Linux kernel, the wake-up event between the processes is captured in real time, the process wake-up tree and the wake-up tree are constructed and maintained, and multi-level tracking of the direct and indirect wake-up relation of the target process is achieved. According to the method, detailed information, including the process ID, the process name, the
timestamp and the priority, of the wake-up event can be accurately recorded, the
tracking data is processed and displayed through the user mode program, and a key basis is provided for
system performance analysis and process scheduling optimization.