X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/a991bd8d3e7fe02dbca0644054bab73c5b75324a..c3c9b80d004dbbfdf763edeb97968c6997e3b45b:/iokit/IOKit/IOStatisticsPrivate.h diff --git a/iokit/IOKit/IOStatisticsPrivate.h b/iokit/IOKit/IOStatisticsPrivate.h index ba3c5063f..47756e784 100644 --- a/iokit/IOKit/IOStatisticsPrivate.h +++ b/iokit/IOKit/IOStatisticsPrivate.h @@ -239,6 +239,12 @@ public: static void initialize(); + inline static bool + isEnabled() + { + return enabled; + } + static void onKextLoad(OSKext *kext, kmod_info_t *kmod_info); static void onKextUnload(OSKext *kext); static void onClassAdded(OSKext *parentKext, OSMetaClass *metaClass);