Browse Prior Art Database

Logging kernel events in user trace buffer

IP.com Disclosure Number: IPCOM000015465D
Original Publication Date: 2002-May-21
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue

IBM

Abstract

Abstract This article describes a method and an application for logging kernel events in user address space. These events may be general kernel events, but the presumption is that they are events that are related to the specific task in which they are being logged. Overview In both kernel code and user applications, events are often logged as a tool to aid debug. Events in user space might include function calls or some other unit of processing. Events in kernel space might include hardware interrupts, timers or context switches. Two important limitations are that it is often difficult to get a single global ordering of the system events and that many of the kernel events pertain to a specific task or pair of tasks. For example, a context switch is an event that the kernel sees that is transparent to the application task, but the context switch pertains to the application task.