HPCToolkit
pmu_x86.c File Reference
Include dependency graph for pmu_x86.c:

Go to the source code of this file.

Classes

struct  perf_data_src_mem_lvl_s
 
struct  perf_mem_metric
 

Macros

#define P(a, b)   PERF_MEM_##a##_##b
 

Typedefs

typedef union perf_mem_data_src perf_mem_data_src_t
 

Functions

static void datacentric_record_metric (int metric_id, cct_node_t *cct_node, cct_node_t *cct_datacentric, cct_metric_data_t value)
 
static void datacentric_record_load_mem (cct_node_t *node, cct_node_t *datacentric_node, perf_mem_data_src_t *data_src)
 
static void datacentric_record_store_mem (cct_node_t *node, cct_node_t *datacentric_node, perf_mem_data_src_t *data_src)
 
static void create_metric_addons ()
 
void datacentric_hw_handler (perf_mmap_data_t *mmap_data, cct_node_t *datacentric_node, cct_node_t *sample_node)
 
int datacentric_hw_register (sample_source_t *self, event_custom_t *event, struct event_threshold_s *period)
 

Variables

static struct perf_mem_metric metric
 

Macro Definition Documentation

◆ P

#define P (   a,
 
)    PERF_MEM_##a##_##b

Definition at line 120 of file pmu_x86.c.

Typedef Documentation

◆ perf_mem_data_src_t

typedef union perf_mem_data_src perf_mem_data_src_t

Definition at line 66 of file pmu_x86.c.

Function Documentation

◆ create_metric_addons()

static void create_metric_addons ( )
static

Definition at line 251 of file pmu_x86.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ datacentric_hw_handler()

void datacentric_hw_handler ( perf_mmap_data_t mmap_data,
cct_node_t datacentric_node,
cct_node_t sample_node 
)

Definition at line 287 of file pmu_x86.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ datacentric_hw_register()

int datacentric_hw_register ( sample_source_t self,
event_custom_t event,
struct event_threshold_s period 
)

Definition at line 313 of file pmu_x86.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ datacentric_record_load_mem()

static void datacentric_record_load_mem ( cct_node_t node,
cct_node_t datacentric_node,
perf_mem_data_src_t data_src 
)
static

Definition at line 136 of file pmu_x86.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ datacentric_record_metric()

static void datacentric_record_metric ( int  metric_id,
cct_node_t cct_node,
cct_node_t cct_datacentric,
cct_metric_data_t  value 
)
static

Definition at line 124 of file pmu_x86.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ datacentric_record_store_mem()

static void datacentric_record_store_mem ( cct_node_t node,
cct_node_t datacentric_node,
perf_mem_data_src_t data_src 
)
static

Definition at line 222 of file pmu_x86.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ metric

struct perf_mem_metric metric
static

Definition at line 114 of file pmu_x86.c.