| 51 | } |
| 52 | |
| 53 | void startProfiler(const char* command) { |
| 54 | Error error = _global_args.parse(command); |
| 55 | _global_args._preloaded = true; |
| 56 | |
| 57 | Log::open(_global_args); |
| 58 | |
| 59 | if (error || (error = Profiler::instance()->run(_global_args))) { |
| 60 | Log::error("%s", error.message()); |
| 61 | } |
| 62 | } |
| 63 | }; |
| 64 | |
| 65 | static LateInitializer _late_initializer; |