set flags for profiling