#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 <pthread.h>
#include <cuda.h>
#include <cupti.h>
#include <monitor.h>
#include "simple_oo.h"
#include "sample_source_obj.h"
#include "common.h"
#include <hpcrun/hpcrun_options.h>
#include <hpcrun/hpcrun_stats.h>
#include <hpcrun/metrics.h>
#include <hpcrun/sample_sources_registered.h>
#include <hpcrun/sample_event.h>
#include <hpcrun/thread_data.h>
#include <utilities/tokenize.h>
#include <messages/messages.h>
#include <lush/lush-backtrace.h>
#include <lib/prof-lean/hpcrun-fmt.h>
#include "ss_obj.h"
Go to the source code of this file.
◆ CUDA_PREFIX
#define CUDA_PREFIX "CUDA." |
◆ CUPTI_LAUNCH_CALLBACK_DEPTH
#define CUPTI_LAUNCH_CALLBACK_DEPTH 7 |
◆ NO_THRESHOLD
◆ OVERFLOW_MODE
◆ PAPI_CUDA_COMPONENT_ID
#define PAPI_CUDA_COMPONENT_ID 1 |
◆ ss_cls
◆ ss_name
◆ check_cupti_error()
static void check_cupti_error |
( |
int |
err, |
|
|
char * |
cuptifunc |
|
) |
| |
|
static |
◆ event_fatal_error()
static void event_fatal_error |
( |
int |
ev_code, |
|
|
int |
papi_ret |
|
) |
| |
|
static |
◆ hpcrun_cuda_kernel_callback()
void CUPTIAPI hpcrun_cuda_kernel_callback |
( |
void * |
userdata, |
|
|
CUpti_CallbackDomain |
domain, |
|
|
CUpti_CallbackId |
cbid, |
|
|
const CUpti_CallbackData * |
cbInfo |
|
) |
| |
|
static |
◆ 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 |