(SERVER-112) DRY up profiler initialization