Linux kernel page table replacement-based method for tracking memory access model
A memory access and page table technology, which is applied in the field of operating system and program analysis, can solve the problem of the explosion of statistical data storage space, etc., and achieve the effect of fast tracking speed and small data volume
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The present invention adopts following steps:
[0025] (1) Main variable settings
[0026] / / The pid of the target process, if it is 0, it means it is not started
[0027] pid_t_mt_pid_;
[0028] / / Whether the first address of the fake page table has been passed to the cr3 register
[0029] bool _mt_tran_cr3_;
[0030] / / The first address of the fake page table
[0031] pgd_t* _mt_pgd_;
[0032] / / Used to back up the first address of the real page table
[0033] pgd_t* _mt_gd_pgd_;
[0034] / / The address that triggered the page fault interrupt last time
[0035] unsigned long_l_mt_add_;
[0036] (2) Add system calls
[0037] The present invention adds three new system calls to the Linux kernel, the system call a is used to start the statistical process, the system call b is used to end the statistical process, and the system call c is used to take out the traced memory access model to the user state. In this way, the statistical process can be
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap