Add profiling support to mobf and mobf settings