Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 12 of 12) sorted by relevance

/xnu-11215/libkdd/kdd.xcodeproj/
H A Dproject.pbxproj187 …ackshot-sample-cputime */ = {isa = PBXFileReference; lastKnownFileType = file; name = "stackshot-s…
192 …50 /* stackshot-sample */ = {isa = PBXFileReference; lastKnownFileType = text; name = "stackshot-s…
212 …00D5F010 /* nested-sample */ = {isa = PBXFileReference; lastKnownFileType = file; name = "nested-s…
225 …00B4AAE0 /* corpse-sample */ = {isa = PBXFileReference; lastKnownFileType = text; name = "corpse-s…
230 … /* exitreason-sample */ = {isa = PBXFileReference; lastKnownFileType = file; name = "exitreason-s…
243 … /* corpse-twr-sample */ = {isa = PBXFileReference; lastKnownFileType = file; name = "corpse-twr-s…
245 …95E2 /* test-twr-sample */ = {isa = PBXFileReference; lastKnownFileType = file; name = "test-twr-s…
251 … corpse-twr-sample-v2 */ = {isa = PBXFileReference; lastKnownFileType = file; name = "corpse-twr-s…
381 13AF287E1C4A0D6A000795E2 /* test-twr-sample */,
404 08B480891BF9473800B4AAE0 /* corpse-sample */,
[all …]
/xnu-11215/osfmk/kperf/
H A Dlazy.c109 struct kperf_sample *sample = kperf_intr_sample_buffer(); in kperf_lazy_wait_sample() local
110 if (!sample) { in kperf_lazy_wait_sample()
118 kperf_sample(sample, &ctx, kperf_lazy_wait_action, flags); in kperf_lazy_wait_sample()
156 struct kperf_sample *sample = kperf_intr_sample_buffer(); in kperf_lazy_cpu_sample() local
157 if (!sample) { in kperf_lazy_cpu_sample()
161 kperf_sample(sample, &ctx, kperf_lazy_cpu_action, in kperf_lazy_cpu_sample()
H A Daction.c66 uint32_t sample; member
88 if (actionv[actionid - 1].sample & ~SAMPLER_SYS_MEM) { in kperf_action_has_non_system()
102 return actionv[actionid - 1].sample & SAMPLER_TASK_MASK; in kperf_action_has_task()
112 return actionv[actionid - 1].sample & SAMPLER_THREAD_MASK; in kperf_action_has_thread()
203 actionv[actionid - 1].sample, sample_flags); in kperf_sample_user()
426 unsigned int sample_what = actionv[actionid - 1].sample; in kperf_sample()
438 struct kperf_sample *sample = NULL; in kperf_kdebug_handler() local
461 sample = kperf_intr_sample_buffer(); in kperf_kdebug_handler()
463 kr = kperf_sample(sample, &ctx, kperf_kdebug_get_action(), sample_flags); in kperf_kdebug_handler()
657 actionv[actionid - 1].sample = samplers; in kperf_action_set_samplers()
[all …]
H A Dpet.c169 struct kperf_sample *sample = kperf_intr_sample_buffer(); in kppet_on_cpu() local
170 if (!sample) { in kppet_on_cpu()
179 kperf_sample(sample, &ctx, actionid, flags); in kppet_on_cpu()
/xnu-11215/san/tools/
H A Dkstksz80 self.kperf_session:add_callback_sample({'ustack'}, function (sample)
81 local event = self.events_by_tid[sample.threadid]
83 event.ustack = sample.ustack
90 self.kperf_session:add_callback_sample({'kstack'}, function (sample)
91 local event = self.events_by_tid[sample.threadid]
93 event.kstack = sample.kstack
/xnu-11215/osfmk/prng/
H A Dentropy.c180 entropy_analysis_store(entropy_sample_t sample) in entropy_analysis_store() argument
193 entropy_analysis_buffer[sample_count] = sample; in entropy_analysis_store()
236 entropy_sample_t sample = (entropy_sample_t)ml_get_timebase_entropy(); in entropy_collect() local
237 e->samples[sample_count] = sample; in entropy_collect()
248 entropy_analysis_store(sample); in entropy_collect()
/xnu-11215/osfmk/kern/
H A Dbtlog.h175 uint32_t sample);
H A Dbtlog.c1359 btlog_create(btlog_type_t type, uint32_t count, uint32_t sample) in btlog_create() argument
1372 if (sample > BTL_SAMPLE_LIMIT) { in btlog_create()
1373 sample = BTL_SAMPLE_LIMIT; in btlog_create()
1377 btlu.btl->btl_sample_max = sample; in btlog_create()
1382 if (sample > 1) { in btlog_create()
1389 *counter = (cpu + 1) * sample / zpercpu_count(); in btlog_create()
/xnu-11215/doc/observability/
H A Dcpu_counters.md40 …samples of thread states and call stacks using CPMU PMIs, allowing it to sample thread states and …
/xnu-11215/tools/lldbmacros/
H A Dktrace.py182 samplers = xnudefines.GetStateString(xnudefines.kperf_samplers_strings, action.sample)
317 action_samplers.append(unsigned(action.sample))
/xnu-11215/bsd/man/man2/
H A Dgetdirentriesattr.2133 The sample code (below) shows how to do this.
/xnu-11215/tests/
H A Dstackshot_tests.m761 T_HELPER_DECL(zombie_child, "child process to sample as a zombie")
892 T_HELPER_DECL(exec_child_postexec, "child process post-exec to sample")