papi CPU events are broken in a spack build on ufront
jmellorcrummey opened this issue · comments
John Mellor-Crummey commented
symptom
hpcrun -e PAPI_TOT_CYC /bin/ls
Segmentation fault (core dumped)
cause
All the 0x0 below from gen_event_set through teardown are supposed to be function pointers:
name = 0x7ffff56f2a00 <_perf_event_vector> "perf_event", inUse = false, eventSet = -1, state = INIT, some_derived = 0, scale_by_thread_count = false, prev_values = {0 <repeats 50 times>}, cct_node = 0x0, is_gpu_sync = false, setup_process_only = false, get_event_set = 0x0, add_event = 0x0, finalize_event_set = 0x7ffff7366b58 <no_action>, start = 0x0, read = 0x0, stop = 0x0, setup = 0x0, teardown = 0x0
John Mellor-Crummey commented
fixed by PR #558