Introduction   API Reference   Files   Index  

l4_tracebuffer_status_t Struct Reference
[Fiasco extensions]

Tracebuffer status. More...

#include <ktrace.h>


Data Fields

l4_tracebuffer_entry_t * tracebuffer0
 Address of tracebuffer 0.
l4_umword_t size0
 Size of tracebuffer 0.
volatile l4_uint64_t version0
 Version number of tracebuffer 0 (incremented if tb0 overruns).
l4_tracebuffer_entry_t * tracebuffer1
 Address of tracebuffer 1 (there is no gap between tb0 and tb1).
l4_umword_t size1
 Size of tracebuffer 1 (same as tb0).
volatile l4_uint64_t version1
 Version number of tracebuffer 1 (incremented if tb1 overruns).
volatile l4_tracebuffer_entry_t * current_entry
 Address of the most current event in tracebuffer.
l4_umword_t logevents [16]
 Available LOG events.
l4_umword_t scaler_tsc_to_ns
 Scaler used for translation of CPU cycles to nano seconds.
l4_umword_t scaler_tsc_to_us
 Scaler used for translation of CPU cycles to micro seconds.
l4_umword_t scaler_ns_to_tsc
 Scaler used for translation of nano seconds to CPU cycles.
volatile l4_umword_t cnt_context_switch
 Number of context switches (intra AS or inter AS).
volatile l4_umword_t cnt_addr_space_switch
 Number of inter AS context switches.
volatile l4_umword_t cnt_shortcut_failed
 How often was the IPC shortcut taken.
volatile l4_umword_t cnt_shortcut_success
 How often was the IPC shortcut not taken.
volatile l4_umword_t cnt_irq
 Number of hardware interrupts (without kernel scheduling interrupt).
volatile l4_umword_t cnt_ipc_long
 Number of long IPCs.
volatile l4_umword_t cnt_page_fault
 Number of page faults.
volatile l4_umword_t cnt_io_fault
 Number of faults (application runs at IOPL 0 and tries to execute cli, sti, in, or out but does not have a sufficient in the I/O bitmap).
volatile l4_umword_t cnt_task_create
 Number of tasks created.
volatile l4_umword_t cnt_schedule
 Number of reschedules.
volatile l4_umword_t cnt_iobmap_tlb_flush
 Number of flushes of the I/O bitmap.


Detailed Description

Tracebuffer status.

Definition at line 58 of file ktrace.h.


Field Documentation

Number of flushes of the I/O bitmap.

Increases on context switches between two small address spaces if at least one of the spaces has an I/O bitmap allocated.

Definition at line 110 of file ktrace.h.


The documentation for this struct was generated from the following file:

Fiasco/L4 System Call C-Bindings Reference Manual,  © 1996-2008