Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

kernel_record_s Struct Reference

A structure to hold the contents of a kernel trace record. More...

#include <types-and-constants.hh>

List of all members.

Public Attributes

tag_t tag
timestamp_t cycle_timestamp
task_ID_t task_ID
task_ID_t parent_task_ID
context_ID_t context_ID
context_ID_t duplicate_context_ID
virtual_page_ID_t starting_page
virtual_page_ID_t ending_page
file_ID_s file_ID
virtual_page_ID_t file_starting_page
virtual_page_ID_t file_ending_page
shm_ID_t shm_ID
char filename [BUFFER_SIZE]


Detailed Description

A structure to hold the contents of a kernel trace record.

Depending on the type of event represented, some fields may not be used or may have slightly different uses.

Definition at line 383 of file types-and-constants.hh.


Member Data Documentation

context_ID_t kernel_record_s::context_ID
 

The context associated with the event.

Definition at line 393 of file types-and-constants.hh.

Referenced by Consumer::handle_context_assignment(), Consumer::handle_duplicate_range(), Consumer::read_kernel_record(), and Consumer::update_with_kernel_record().

timestamp_t kernel_record_s::cycle_timestamp
 

The CPU cycle time of the event.

Definition at line 386 of file types-and-constants.hh.

Referenced by Consumer::read_kernel_record(), and Consumer::synchronize().

context_ID_t kernel_record_s::duplicate_context_ID
 

For a context duplication, the destination context, where the previous field is the source context.

Definition at line 395 of file types-and-constants.hh.

Referenced by Consumer::handle_duplicate_range(), and Consumer::read_kernel_record().

virtual_page_ID_t kernel_record_s::ending_page
 

The last virtual page for those events that specify a virtual range.

Definition at line 401 of file types-and-constants.hh.

Referenced by Consumer::handle_anonymous_mmap_range(), Consumer::handle_duplicate_range(), Consumer::handle_file_mmap_range(), Consumer::handle_munmap_range(), Consumer::handle_shmat(), and Consumer::read_kernel_record().

virtual_page_ID_t kernel_record_s::file_ending_page
 

The last page within the file for events that specify a range.

Definition at line 409 of file types-and-constants.hh.

Referenced by Consumer::read_kernel_record().

file_ID_s kernel_record_s::file_ID
 

The unique file ID associated with the event.

Definition at line 404 of file types-and-constants.hh.

Referenced by Consumer::handle_exec(), Consumer::handle_file_cache_allocation(), Consumer::handle_file_delete(), Consumer::handle_file_mmap_range(), and Consumer::read_kernel_record().

virtual_page_ID_t kernel_record_s::file_starting_page
 

The first (and sometimes only) page within the file's address space.

Definition at line 406 of file types-and-constants.hh.

Referenced by Consumer::handle_file_cache_allocation(), Consumer::handle_file_mmap_range(), and Consumer::read_kernel_record().

char kernel_record_s::filename[BUFFER_SIZE]
 

The name of the file for this operation. Note that this identifier is not unique as the file ID is, but indicates the name by which the process accessed the file.

Definition at line 414 of file types-and-constants.hh.

Referenced by Consumer::handle_exec(), and Consumer::read_kernel_record().

task_ID_t kernel_record_s::parent_task_ID
 

The task that requested a fork(), where the task_ID field is the newly forked process.

Definition at line 390 of file types-and-constants.hh.

Referenced by Consumer::handle_fork(), and Consumer::read_kernel_record().

shm_ID_t kernel_record_s::shm_ID
 

The IPC shared memory segment ID associated with the event.

Definition at line 412 of file types-and-constants.hh.

Referenced by Consumer::handle_shmat(), and Consumer::read_kernel_record().

virtual_page_ID_t kernel_record_s::starting_page
 

The first (and sometimes only) virtual page for the event.

Definition at line 399 of file types-and-constants.hh.

Referenced by Consumer::handle_anonymous_mmap_range(), Consumer::handle_buffer_cache_allocation(), Consumer::handle_buffer_cache_deallocation(), Consumer::handle_cow_unmap(), Consumer::handle_duplicate_range(), Consumer::handle_file_cache_allocation(), Consumer::handle_file_cache_deallocation(), Consumer::handle_file_mmap_range(), Consumer::handle_munmap_range(), Consumer::handle_shmat(), and Consumer::read_kernel_record().

tag_t kernel_record_s::tag
 

The type of event.

Definition at line 385 of file types-and-constants.hh.

Referenced by Per_Task_Consumer::act_on_kernel_record(), Consumer::read_kernel_record(), Consumer::synchronize(), and Consumer::update_with_kernel_record().

task_ID_t kernel_record_s::task_ID
 

The task that caused or was the primary target of the event.

Definition at line 388 of file types-and-constants.hh.

Referenced by Per_Task_Consumer::act_on_kernel_record(), Consumer::handle_anonymous_mmap_range(), Consumer::handle_context_assignment(), Consumer::handle_cow_unmap(), Consumer::handle_exec(), Consumer::handle_exit(), Consumer::handle_file_mmap_range(), Consumer::handle_fork(), Consumer::handle_munmap_range(), Consumer::handle_schedule(), Consumer::handle_shmat(), Per_Task_Consumer::PTC_handle_context_assignment(), Consumer::read_kernel_record(), and Consumer::synchronize().


The documentation for this struct was generated from the following file:
Generated on Fri Jan 31 10:33:39 2003 for Laplace-merge by doxygen1.3-rc2