54 #define _TPx(a,b,c) a ## b ## c 55 #define _T3(a, b, c) _TPx(a, b, c) 56 #define _make_id(tpl) _T3 tpl 59 #define _st1(n) _st(n) 66 #define ss_sort_order 50 71 #define obj_name() SS_OBJ_NAME(ss_name) 72 #define ss_str _st1(ss_name) 73 #define reg_fn_name _make_id((,ss_name,_obj_reg)) 78 .add_event = hpcrun_ss_add_event,
79 .store_event = hpcrun_ss_store_event,
80 .store_event_and_info = hpcrun_ss_store_event_and_info,
81 .store_metric_id = hpcrun_ss_store_metric_id,
82 .get_event_str = hpcrun_ss_get_event_str,
83 .started = hpcrun_ss_started,
88 .thread_init = thread_init,
89 .thread_init_action = thread_init_action,
91 .thread_fini_action = thread_fini_action,
94 .supports_event = supports_event,
95 .process_event_list = process_event_list,
96 .gen_event_set = gen_event_set,
97 .display_events = display_events,
101 .evl_spec = {[0] =
'\0'},
void SS_OBJ_CONSTRUCTOR() ss_name(void)
#define SS_OBJ_CONSTRUCTOR(ssname)
void hpcrun_ss_register(sample_source_t *src)