compat with 5.5, slim down profiler for userland code only