diff options
Diffstat (limited to 'Kernel/CommandLine.cpp')
-rw-r--r-- | Kernel/CommandLine.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/CommandLine.cpp b/Kernel/CommandLine.cpp index 005cd6080f..fdb09c4d41 100644 --- a/Kernel/CommandLine.cpp +++ b/Kernel/CommandLine.cpp @@ -88,6 +88,11 @@ bool CommandLine::contains(const String& key) const return m_params.contains(key); } +UNMAP_AFTER_INIT bool CommandLine::is_boot_profiling_enabled() const +{ + return contains("boot_prof"); +} + UNMAP_AFTER_INIT bool CommandLine::is_ide_enabled() const { return !contains("disable_ide"); |