X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3903760236c30e3b5ace7a4eefac3a269d68957c..b226f5e54a60dc81db17b1260381d7dbfea3cdf1:/osfmk/kperf/sample.h diff --git a/osfmk/kperf/sample.h b/osfmk/kperf/sample.h index 42637fa31..35e186ebb 100644 --- a/osfmk/kperf/sample.h +++ b/osfmk/kperf/sample.h @@ -49,10 +49,14 @@ struct kperf_sample { #if KPC struct kpcdata kpcdata; -#endif +#endif /* KPC */ + +#if DEVELOPMENT || DEBUG + uint64_t sample_time; +#endif /* DEVELOPMENT || DEBUG */ }; /* cache of threads on each CPU during a timer fire */ -extern thread_t *kperf_thread_on_cpus; +extern uint64_t *kperf_tid_on_cpus; #endif /* !defined(KPERF_SAMPLE_H) */