Invention Grant
- Patent Title: Methods and systems for porting Sysprof
- Patent Title (中): 移植Sysprof的方法和系统
-
Application No.: US11763389Application Date: 2007-06-14
-
Publication No.: US08533686B2Publication Date: 2013-09-10
- Inventor: Kristian Hoegsberg Kristensen
- Applicant: Kristian Hoegsberg Kristensen
- Applicant Address: US NC Raleigh
- Assignee: Red Hat, Inc.
- Current Assignee: Red Hat, Inc.
- Current Assignee Address: US NC Raleigh
- Agency: Lowenstein Sandler LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45 ; G06F11/30 ; G06F15/173 ; G06F11/00 ; G06F12/16

Abstract:
Embodiments of the present invention provide a system profiler that can be used on any processor architecture. In particular, instead of copying an entire stack every time, the stack is divided into blocks of a fixed size. For each block, a hash value is computed. As stack blocks are sent out of the kernel, the hash value and a copy of the block contents is kept in a user space cache. In the kernel, the hash codes of sent stack blocks are tracked in a table. During system profiling, the kernel module sampling the call stack determines if that stack block was previously sent by checking for the hash value in the kernel table. If the hash matches an entry in the kernel table, then only the hash value is sent. If the hash value is not in the table, the entire block and the hash value is sent.
Public/Granted literature
- US20080313406A1 METHODS AND SYSTEMS FOR PORTING SYSPROF Public/Granted day:2008-12-18
Information query