Change profiling mode from boolean to string