Invention Grant
- Patent Title: Dynamic instrumentation
- Patent Title (中): 动态仪器仪表
-
Application No.: US14324073Application Date: 2014-07-03
-
Publication No.: US09336001B2Publication Date: 2016-05-10
- Inventor: Balbir Singh , Maneesh Soni
- Applicant: Lenovo Enterprise Solutions (Singapore) Pte. Ltd.
- Applicant Address: SG Singapore
- Assignee: Lenovo Enterprise Solutions (Singapore) Pte. Ltd.
- Current Assignee: Lenovo Enterprise Solutions (Singapore) Pte. Ltd.
- Current Assignee Address: SG Singapore
- Agent Katherine S. Brown; Jeffrey L. Streets
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/30 ; G06F11/34 ; G06F11/36

Abstract:
Techniques for dynamic instrumentation are provided. A method for instrumentation preparation may include obtaining address data of an original instruction in an original instruction stream, obtaining kernel mode data comprising a kernel breakpoint handler, obtaining user mode data comprising a user breakpoint handler, allocating a page of a process address space, creating a trampoline, associating the trampoline with a breakpoint instruction, and replacing the original instruction with the breakpoint instruction. A method for instrumentation may include detecting the breakpoint instruction, calling the kernel breakpoint handler, modifying an instruction pointer via the kernel breakpoint handler such that the instruction pointer points to the trampoline, and executing the trampoline. The system for instrumentation may include a breakpoint setup module and a breakpoint execution module for respectively setting up and completing instrumentation involving the trampoline.
Public/Granted literature
- US20140325193A1 DYNAMIC INSTRUMENTATION Public/Granted day:2014-10-30
Information query