Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ps3_lpm_priv Struct Reference

Data Fields

atomic_t open
 
u64 rights
 
u64 node_id
 
u64 pu_id
 
u64 lpm_id
 
u64 outlet_id
 
u64 tb_count
 
voidtb_cache
 
u64 tb_cache_size
 
voidtb_cache_internal
 
struct ps3_lpm_shadow_regs shadow
 
struct ps3_system_bus_devicesbd
 

Detailed Description

struct ps3_lpm_priv - Private lpm device data.

: An atomic variable indicating the lpm driver has been opened. : The lpm rigths granted by the system policy module. A logical OR of enum ps3_lpm_rights. : The node id of a BE prosessor whose performance monitor this lpar has the right to use. : The lv1 id of the logical PU. : The lv1 id of this lpm instance. : The outlet created by lv1 for this lpm instance. : The number of bytes of data held in the lv1 trace buffer. : Kernel buffer to receive the data from the lv1 trace buffer. Must be 128 byte aligned. : Size of the kernel buffer. Must be 128 byte aligned. : An unaligned buffer allocated by this driver to be used for the trace buffer cache when ps3_lpm_open() is called with a NULL tb_cache argument. Otherwise unused. : Processor register shadow of type struct ps3_lpm_shadow_regs. : The struct ps3_system_bus_device attached to this driver.

The trace buffer is a buffer allocated and used internally to the lv1 hypervisor to collect trace data. The trace buffer cache is a guest buffer that accepts the trace data from the trace buffer.

Definition at line 129 of file ps3-lpm.c.

Field Documentation

u64 lpm_id

Definition at line 134 of file ps3-lpm.c.

u64 node_id

Definition at line 132 of file ps3-lpm.c.

atomic_t open

Definition at line 130 of file ps3-lpm.c.

u64 outlet_id

Definition at line 135 of file ps3-lpm.c.

u64 pu_id

Definition at line 133 of file ps3-lpm.c.

u64 rights

Definition at line 131 of file ps3-lpm.c.

Definition at line 141 of file ps3-lpm.c.

Definition at line 140 of file ps3-lpm.c.

void* tb_cache

Definition at line 137 of file ps3-lpm.c.

void* tb_cache_internal

Definition at line 139 of file ps3-lpm.c.

u64 tb_cache_size

Definition at line 138 of file ps3-lpm.c.

u64 tb_count

Definition at line 136 of file ps3-lpm.c.


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