HPCToolkit
trace.c File Reference
#include <stdio.h>
#include <sys/time.h>
#include <assert.h>
#include <limits.h>
#include <include/hpctoolkit-config.h>
#include "disabled.h"
#include "env.h"
#include "files.h"
#include "monitor.h"
#include "rank.h"
#include "string.h"
#include "trace.h"
#include "thread_data.h"
#include "sample_prob.h"
#include <memory/hpcrun-malloc.h>
#include <messages/messages.h>
#include <lib/prof-lean/hpcfmt.h>
#include <lib/prof-lean/hpcrun-fmt.h>
#include <lib/prof-lean/hpcio.h>
#include <lib/prof-lean/hpcio-buffer.h>
Include dependency graph for trace.c:

Go to the source code of this file.

Functions

static void hpcrun_trace_file_validate (int valid, char *op)
 
static void hpcrun_trace_append_with_time_real (core_profile_trace_data_t *cptd, unsigned int call_path_id, uint metric_id, uint64_t microtime)
 
int hpcrun_trace_isactive ()
 
void hpcrun_trace_init ()
 
void hpcrun_trace_open (core_profile_trace_data_t *cptd)
 
void hpcrun_trace_append_with_time (core_profile_trace_data_t *st, unsigned int call_path_id, uint metric_id, uint64_t microtime)
 
void hpcrun_trace_append (core_profile_trace_data_t *cptd, cct_node_t *node, uint metric_id)
 
void hpcrun_trace_close (core_profile_trace_data_t *cptd)
 

Variables

static int tracing = 0
 

Function Documentation

◆ hpcrun_trace_append()

void hpcrun_trace_append ( core_profile_trace_data_t cptd,
cct_node_t node,
uint  metric_id 
)

Definition at line 173 of file trace.c.

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

◆ hpcrun_trace_append_with_time()

void hpcrun_trace_append_with_time ( core_profile_trace_data_t st,
unsigned int  call_path_id,
uint  metric_id,
uint64_t  microtime 
)

Definition at line 164 of file trace.c.

Here is the call graph for this function:

◆ hpcrun_trace_append_with_time_real()

static void hpcrun_trace_append_with_time_real ( core_profile_trace_data_t cptd,
unsigned int  call_path_id,
uint  metric_id,
uint64_t  microtime 
)
inlinestatic

Definition at line 218 of file trace.c.

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

◆ hpcrun_trace_close()

void hpcrun_trace_close ( core_profile_trace_data_t cptd)

Definition at line 195 of file trace.c.

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

◆ hpcrun_trace_file_validate()

static void hpcrun_trace_file_validate ( int  valid,
char *  op 
)
static

Definition at line 248 of file trace.c.

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

◆ hpcrun_trace_init()

void hpcrun_trace_init ( )

Definition at line 114 of file trace.c.

Here is the caller graph for this function:

◆ hpcrun_trace_isactive()

int hpcrun_trace_isactive ( )

Definition at line 107 of file trace.c.

Here is the caller graph for this function:

◆ hpcrun_trace_open()

void hpcrun_trace_open ( core_profile_trace_data_t cptd)

Definition at line 124 of file trace.c.

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

Variable Documentation

◆ tracing

int tracing = 0
static

Definition at line 100 of file trace.c.