#include <alloca.h>
#include <assert.h>
#include <ctype.h>
#include <papi.h>
#include <setjmp.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ucontext.h>
#include <stdbool.h>
#include <stdint.h>
#include <pthread.h>
#include <monitor.h>
#include "simple_oo.h"
#include "sample_source_obj.h"
#include "common.h"
#include "papi-c-extended-info.h"
#include <hpcrun/hpcrun_options.h>
#include <hpcrun/hpcrun_stats.h>
#include <hpcrun/metrics.h>
#include <hpcrun/safe-sampling.h>
#include <hpcrun/sample_sources_registered.h>
#include <hpcrun/sample_event.h>
#include <hpcrun/thread_data.h>
#include <hpcrun/threadmgr.h>
#include <sample-sources/blame-shift/blame-shift.h>
#include <utilities/tokenize.h>
#include <messages/messages.h>
#include <lush/lush-backtrace.h>
#include <lib/prof-lean/hpcrun-fmt.h>
#include "papi-c.h"
#include "ss_obj.h"
Go to the source code of this file.
|
static void | papi_event_handler (int event_set, void *pc, long long ovec, void *context) |
|
static int | event_is_derived (int ev_code) |
|
static void | event_fatal_error (int ev_code, int papi_ret) |
|
static int | get_event_index (sample_source_t *self, int event_code) |
|
int | get_component_event_set (papi_source_info_t *psi, int cidx) |
|
int | component_add_event (papi_source_info_t *psi, int cidx, int evcode) |
|
static bool | thread_count_scaling_for_component (int cidx) |
|
static void | print_desc (char *s) |
|
static const char * | strip_papi_prefix (const char *str) |
|
static void | METHOD_FN (init) |
|
static void | METHOD_FN (thread_init) |
|
static void | METHOD_FN (thread_init_action) |
|
static void | METHOD_FN (start) |
|
static void | METHOD_FN (thread_fini_action) |
|
static void | METHOD_FN (stop) |
|
static void | METHOD_FN (shutdown) |
|
static bool | METHOD_FN (supports_event, const char *ev_str) |
|
static void | METHOD_FN (process_event_list, int lush_metrics) |
|
static void | METHOD_FN (gen_event_set, int lush_metrics) |
|
static void | METHOD_FN (display_events) |
|
void | hpcrun_disable_papi_cuda (void) |
|
◆ BUFLEN
◆ DEFAULT_THRESHOLD
#define DEFAULT_THRESHOLD 2000000L |
◆ OVERFLOW_MODE
◆ ss_cls
◆ ss_name
◆ ss_sort_order
◆ WEIGHT_METRIC
◆ component_add_event()
◆ event_fatal_error()
static void event_fatal_error |
( |
int |
ev_code, |
|
|
int |
papi_ret |
|
) |
| |
|
static |
◆ event_is_derived()
static int event_is_derived |
( |
int |
ev_code | ) |
|
|
static |
◆ get_component_event_set()
◆ get_event_index()
◆ hpcrun_disable_papi_cuda()
void hpcrun_disable_papi_cuda |
( |
void |
| ) |
|
◆ 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 |
◆ papi_event_handler()
static void papi_event_handler |
( |
int |
event_set, |
|
|
void * |
pc, |
|
|
long long |
ovec, |
|
|
void * |
context |
|
) |
| |
|
static |
◆ print_desc()
static void print_desc |
( |
char * |
s | ) |
|
|
static |
◆ strip_papi_prefix()
static const char* strip_papi_prefix |
( |
const char * |
str | ) |
|
|
static |
◆ thread_count_scaling_for_component()
static bool thread_count_scaling_for_component |
( |
int |
cidx | ) |
|
|
static |
◆ derived
◆ disable_papi_cuda
bool disable_papi_cuda = false |
|
static |
◆ hpcrun_thread_suppress_sample
__thread bool hpcrun_thread_suppress_sample |
◆ papi_unavail
◆ some_overflow