Linux system calling event collection and caching device and method
A technology for invoking events and collecting devices, which is applied in hardware monitoring, special data processing applications, redundant data error detection in computing, etc. It can solve problems that affect performance, have no data caching function, and cannot be deployed online in real time. , to achieve the effect of improving operating efficiency and reducing memory copy operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0108] The invention provides a Linux system call event collection device to collect accept system call events (in Linux systems, system call events are sometimes called system events in practice, sometimes called system calls, and sometimes abbreviated It is called call or event, and actually refers to a system call event) as an example for illustration, the device includes:
[0109] The system call event collection module is used for system call event information collection and processing, including the sysdig-probe kernel driver module.
[0110] The sysdig-probe kernel driver module is used for the collection of system call event information, including the sysdig-probe filter module and the sysdig-probe event serialization module, which is based on the open source sysdig for secondary development, using Linux character device driver technology , register the trace points of all system call events as the probe function in the driver form, when the accept system call event oc...
Embodiment 2
[0130] The present invention provides a Linux system call event caching device, which is described by taking the caching of the accept system call event as an example, and the device includes:
[0131] System call event buffer module, described system call event buffer module comprises sysdig-userspace layer, and described sysdig-userspace layer comprises Sqlite file database;
[0132] The system call event cache module is used to cache system call event information, and the sysdig-userspace layer is used to read the accept system call event information collected by the above acquisition device, and store the system call event information in the In the Sqlite file database, the sysdig-userspace layer reads the binary accept system call event information collected by the above acquisition device from the memory shared with the sysdig-probe kernel driver module, and according to the file descriptor type socket in the accept system call Classify the binary system call event infor...
Embodiment 3
[0150] The invention provides a Linux system call event collection device and a Linux system call event cache device, the collection device includes a sydig-probe kernel driver module, a Linux system call event cache device includes a sysdig-userspace layer, and the above collection device The sydig-probe kernel driver module and the sysdig-userspace layer in the above cache device use Linux memory mapping technology to share memory. The sydig-probe kernel driver module in the acquisition device processes the collected system call event information such as accept and stores it in the above-mentioned shared memory, and the sysdig-userspace layer in the cache device reads the information collected by the acquisition device from the above-mentioned shared memory. Accept and other system call event information, and store it in the Sqlite file database after processing.
[0151] The present invention is based on the deep secondary development technology of the open-source sysdig an...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



