47 #ifndef SAMPLE_EVENT_H 48 #define SAMPLE_EVENT_H 81 TMSG(SPECIAL,
"Sampling disabled");
88 TMSG(SPECIAL,
"Sampling disabled");
113 #define SAMPLING_IN_MALLOC 1 114 #define SAMPLING_FIRST_TOUCH 2 115 #define SAMPLING_DATA_NODE 4 132 int metricId, uint64_t metricIncr,
135 #endif // sample_event_h cct_node_t * hpcrun_gen_thread_ctxt(void *context)
void hpcrun_drop_sample(void)
struct sample_val_s sample_val_t
static bool hpcrun_is_sampling_disabled(void)
cct_node_t * hpcrun_sample_callpath_w_bt(void *context, int metricId, uint64_t metricIncr, bt_mut_fn bt_fn, bt_fn_arg arg, int isSync)
sample_val_t hpcrun_sample_callpath(void *context, int metricId, hpcrun_metricVal_t metricIncr, int skipInner, int isSync, sampling_info_t *data)
struct sampling_info_s sampling_info_t
void(* bt_mut_fn)(backtrace_t *bt, bt_fn_arg arg)
static void hpcrun_enable_sampling(void)
static void hpcrun_disable_sampling(void)
bool private_hpcrun_sampling_disabled
static void hpcrun_sample_val_init(sample_val_t *x)
bool bt_fn(backtrace_t *bt, ucontext_t *context)