#include <ucontext.h>
#include <pthread.h>
#include <string.h>
#include <dlfcn.h>
#include <stdbool.h>
#include "simple_oo.h"
#include "sample_source_obj.h"
#include "common.h"
#include "pthread-blame.h"
#include <sample-sources/blame-shift/blame-shift.h>
#include <sample-sources/blame-shift/blame-map.h>
#include <hpcrun/cct2metrics.h>
#include <hpcrun/metrics.h>
#include <hpcrun/hpctoolkit.h>
#include <hpcrun/safe-sampling.h>
#include <hpcrun/sample_event.h>
#include <hpcrun/thread_data.h>
#include <hpcrun/cct/cct.h>
#include <messages/messages.h>
#include <stdio.h>
#include "ss_obj.h"
Go to the source code of this file.
◆ SKIP_ONE_FRAME
◆ ss_cls
◆ ss_name
#define ss_name directed_blame |
◆ ss_sort_order
◆ dbg_t
◆ dbg_tr_t
◆ state_t
◆ add_blame()
static void add_blame |
( |
uint64_t |
obj, |
|
|
uint32_t |
value |
|
) |
| |
|
inlinestatic |
◆ get_blame()
static uint64_t get_blame |
( |
uint64_t |
obj | ) |
|
|
inlinestatic |
◆ get_blame_metric_id()
static int get_blame_metric_id |
( |
void |
| ) |
|
|
inlinestatic |
◆ get_blame_target()
static uint64_t get_blame_target |
( |
void |
| ) |
|
|
inlinestatic |
◆ METHOD_FN() [1/11]
static void METHOD_FN |
( |
init |
| ) |
|
|
static |
◆ METHOD_FN() [2/11]
static void METHOD_FN |
( |
thread_init |
| ) |
|
|
static |
◆ METHOD_FN() [3/11]
static void METHOD_FN |
( |
thread_init_action |
| ) |
|
|
static |
◆ METHOD_FN() [4/11]
static void METHOD_FN |
( |
start |
| ) |
|
|
static |
◆ METHOD_FN() [5/11]
static void METHOD_FN |
( |
thread_fini_action |
| ) |
|
|
static |
◆ METHOD_FN() [6/11]
static void METHOD_FN |
( |
stop |
| ) |
|
|
static |
◆ METHOD_FN() [7/11]
static void METHOD_FN |
( |
shutdown |
| ) |
|
|
static |
◆ METHOD_FN() [8/11]
static bool METHOD_FN |
( |
supports_event |
, |
|
|
const char * |
ev_str |
|
) |
| |
|
static |
◆ METHOD_FN() [9/11]
static void METHOD_FN |
( |
process_event_list |
, |
|
|
int |
lush_metrics |
|
) |
| |
|
static |
◆ METHOD_FN() [10/11]
static void METHOD_FN |
( |
gen_event_set |
, |
|
|
int |
lush_metrics |
|
) |
| |
|
static |
◆ METHOD_FN() [11/11]
static void METHOD_FN |
( |
display_events |
| ) |
|
|
static |
◆ process_directed_blame_for_sample()
static void process_directed_blame_for_sample |
( |
void * |
arg, |
|
|
int |
metric_id, |
|
|
cct_node_t * |
node, |
|
|
int |
metric_incr |
|
) |
| |
|
static |
◆ pthread_blame_lockwait_enabled()
bool pthread_blame_lockwait_enabled |
( |
void |
| ) |
|
◆ pthread_directed_blame_accept()
void pthread_directed_blame_accept |
( |
void * |
obj | ) |
|
◆ pthread_directed_blame_shift_blocked_start()
void pthread_directed_blame_shift_blocked_start |
( |
void * |
obj | ) |
|
◆ pthread_directed_blame_shift_end()
void pthread_directed_blame_shift_end |
( |
void |
| ) |
|
◆ pthread_directed_blame_shift_spin_start()
void pthread_directed_blame_shift_spin_start |
( |
void * |
obj | ) |
|
◆ state2str()
static char* state2str |
( |
state_t |
s | ) |
|
|
inlinestatic |
◆ blame_metric_id
◆ blockwait_metric_id
int blockwait_metric_id = -1 |
|
static |
◆ bs_entry
◆ lockwait_enabled
bool lockwait_enabled = false |
|
static |
◆ metric_id_set
bool metric_id_set = false |
|
static |
◆ pthread_blame
◆ pthread_blame_table
◆ spinwait_metric_id
int spinwait_metric_id = -1 |
|
static |