#include <ompt.h>
#include <lib/prof-lean/placeholders.h>
#include <hpcrun/cct_backtrace_finalize.h>
#include <hpcrun/sample_event.h>
#include <hpcrun/trace.h>
#include <hpcrun/unresolved.h>
#include "ompt-callstack.h"
#include "ompt-interface.h"
#include "ompt-state-placeholders.h"
#include "ompt-defer.h"
#include "ompt-region.h"
#include "ompt-task-map.h"
Go to the source code of this file.
|
static void | stack_dump (char *tag, frame_t *inner, frame_t *outer, uint64_t region_id) |
|
static int | interval_contains (void *lower, void *upper, void *addr) |
|
static ompt_state_t | check_state () |
|
static void | set_frame (frame_t *f, ompt_placeholder_t *ph) |
|
static void | collapse_callstack (backtrace_info_t *bt, ompt_placeholder_t *placeholder) |
|
static void | ompt_elide_runtime_frame (backtrace_info_t *bt, uint64_t region_id, int isSync) |
|
static cct_node_t * | memoized_context_get (thread_data_t *td, uint64_t region_id) |
|
static void | memoized_context_set (thread_data_t *td, uint64_t region_id, cct_node_t *result) |
|
cct_node_t * | region_root (cct_node_t *_node) |
|
static cct_node_t * | lookup_region_id (uint64_t region_id) |
|
cct_node_t * | ompt_region_context (uint64_t region_id, ompt_context_type_t ctype, int levels_to_skip, int adjust_callsite) |
|
cct_node_t * | ompt_parallel_begin_context (ompt_parallel_id_t region_id, int levels_to_skip, int adjust_callsite) |
|
static void | ompt_backtrace_finalize (backtrace_info_t *bt, int isSync) |
|
cct_node_t * | ompt_cct_cursor_finalize (cct_bundle_t *cct, backtrace_info_t *bt, cct_node_t *cct_cursor) |
|
void | ompt_callstack_register_handlers (void) |
|
◆ elide_debug_dump
◆ OMPT_DEBUG
◆ check_state()
static ompt_state_t check_state |
( |
| ) |
|
|
static |
◆ collapse_callstack()
static void collapse_callstack |
( |
backtrace_info_t * |
bt, |
|
|
ompt_placeholder_t * |
placeholder |
|
) |
| |
|
static |
◆ interval_contains()
static int interval_contains |
( |
void * |
lower, |
|
|
void * |
upper, |
|
|
void * |
addr |
|
) |
| |
|
static |
◆ lookup_region_id()
static cct_node_t* lookup_region_id |
( |
uint64_t |
region_id | ) |
|
|
static |
◆ memoized_context_get()
◆ memoized_context_set()
◆ ompt_backtrace_finalize()
◆ ompt_callstack_register_handlers()
void ompt_callstack_register_handlers |
( |
void |
| ) |
|
◆ ompt_cct_cursor_finalize()
◆ ompt_elide_runtime_frame()
static void ompt_elide_runtime_frame |
( |
backtrace_info_t * |
bt, |
|
|
uint64_t |
region_id, |
|
|
int |
isSync |
|
) |
| |
|
static |
◆ ompt_parallel_begin_context()
cct_node_t* ompt_parallel_begin_context |
( |
ompt_parallel_id_t |
region_id, |
|
|
int |
levels_to_skip, |
|
|
int |
adjust_callsite |
|
) |
| |
◆ ompt_region_context()
cct_node_t* ompt_region_context |
( |
uint64_t |
region_id, |
|
|
ompt_context_type_t |
ctype, |
|
|
int |
levels_to_skip, |
|
|
int |
adjust_callsite |
|
) |
| |
◆ region_root()
◆ set_frame()
static void set_frame |
( |
frame_t * |
f, |
|
|
ompt_placeholder_t * |
ph |
|
) |
| |
|
static |
◆ stack_dump()
static void stack_dump |
( |
char * |
tag, |
|
|
frame_t * |
inner, |
|
|
frame_t * |
outer, |
|
|
uint64_t |
region_id |
|
) |
| |
|
static |
◆ ompt_callstack_debug
int ompt_callstack_debug = 0 |
|
static |
◆ ompt_eager_context
int ompt_eager_context = 0 |
|
static |
◆ ompt_finalizer