function for event sel, only nvtx for now
add event sel, configurable output name