scorep instruments inside the function