]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kperf/thread_samplers.c
xnu-4570.51.1.tar.gz
[apple/xnu.git] / osfmk / kperf / thread_samplers.c
index e62f8934d2a72f973a13e1d1d8cdb49a7021e389..176520f0c102c412ecc739c0a6b13d1f7e897b9b 100644 (file)
@@ -91,12 +91,12 @@ kperf_thread_info_runmode_legacy(thread_t thread)
                kperf_state |= KPERF_TI_IDLE;
        }
 
-#if !TARGET_OS_EMBEDDED
+#if !CONFIG_EMBEDDED
        /* on desktop, if state is blank, leave not idle set */
        if (kperf_state == 0) {
                return (TH_IDLE << 16);
        }
-#endif /* !TARGET_OS_EMBEDDED */
+#endif /* !CONFIG_EMBEDDED */
 
        /* high two bytes are inverted mask, low two bytes are normal */
        return (((~kperf_state & 0xffff) << 16) | (kperf_state & 0xffff));