HPCToolkit
lush-backtrace.c File Reference
#include <stdlib.h>
#include <string.h>
#include <monitor.h>
#include <include/uint.h>
#include <include/min-max.h>
#include "lush.h"
#include "lush-backtrace.h"
#include <hpcrun/cct_insert_backtrace.h>
#include <epoch.h>
#include <sample_event.h>
#include <unwind/common/backtrace.h>
Include dependency graph for lush-backtrace.c:

Go to the source code of this file.

Macros

#define MYDBG   0
 

Functions

static frame_tcanonicalize_chord (frame_t *chord_beg, lush_assoc_t as, uint pchord_len, uint lchord_len)
 
cct_node_tlush_backtrace2cct (cct_bundle_t *cct, ucontext_t *context, int metricId, hpcrun_metricVal_t metricIncr, int skipInner, int isSync)
 

Variables

lush_agent_pool_tlush_agents = NULL
 
bool is_lush_agent = false
 

Macro Definition Documentation

◆ MYDBG

#define MYDBG   0

Definition at line 88 of file lush-backtrace.c.

Function Documentation

◆ canonicalize_chord()

static frame_t * canonicalize_chord ( frame_t chord_beg,
lush_assoc_t  as,
uint  pchord_len,
uint  lchord_len 
)
static

Definition at line 269 of file lush-backtrace.c.

Here is the caller graph for this function:

◆ lush_backtrace2cct()

cct_node_t* lush_backtrace2cct ( cct_bundle_t cct,
ucontext_t *  context,
int  metricId,
hpcrun_metricVal_t  metricIncr,
int  skipInner,
int  isSync 
)

Definition at line 108 of file lush-backtrace.c.

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

Variable Documentation

◆ is_lush_agent

bool is_lush_agent = false

Definition at line 100 of file lush-backtrace.c.

◆ lush_agents

lush_agent_pool_t* lush_agents = NULL

Definition at line 99 of file lush-backtrace.c.