Home
last modified time | relevance | path

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

/xnu-8020.101.4/libkdd/kdd.xcodeproj/
H A Dproject.pbxproj27 …00371A54 /* stackshot-sample-duration in Resources */ = {isa = PBXBuildFile; fileRef = 081725D31C3…
28 …A54 /* stackshot-sample-duration.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 081725D…
29 …00A1C138 /* stackshot-sample-cputime in Resources */ = {isa = PBXBuildFile; fileRef = 081EDD361C23…
30 …C138 /* stackshot-sample-cputime.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 081EDD3…
34 …AFC600CD4150 /* stackshot-sample in Resources */ = {isa = PBXBuildFile; fileRef = 0843EE911BF6AFB7…
35 …00CD4150 /* stackshot-sample.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 0843EE931BF…
36 …BB008A085B /* stackshot-sample-asid in Resources */ = {isa = PBXBuildFile; fileRef = 084422F62048B…
37 …A085B /* stackshot-sample-asid.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 084422F72…
40 …07E1301 /* stackshot-sample-tailspin-2 in Resources */ = {isa = PBXBuildFile; fileRef = 0860F8781B…
41 …01 /* stackshot-sample-tailspin-2.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 0860F8…
[all …]
/xnu-8020.101.4/osfmk/kperf/
H A Dlazy.c114 struct kperf_sample *sample = kperf_intr_sample_buffer(); in kperf_lazy_wait_sample() local
115 if (!sample) { in kperf_lazy_wait_sample()
123 kperf_sample(sample, &ctx, kperf_lazy_wait_action, flags); in kperf_lazy_wait_sample()
160 struct kperf_sample *sample = kperf_intr_sample_buffer(); in kperf_lazy_cpu_sample() local
161 if (!sample) { in kperf_lazy_cpu_sample()
165 kperf_sample(sample, &ctx, kperf_lazy_cpu_action, in kperf_lazy_cpu_sample()
H A Daction.c62 uint32_t sample; member
83 if (actionv[actionid - 1].sample & ~SAMPLER_SYS_MEM) { in kperf_action_has_non_system()
97 return actionv[actionid - 1].sample & SAMPLER_TASK_MASK; in kperf_action_has_task()
107 return actionv[actionid - 1].sample & SAMPLER_THREAD_MASK; in kperf_action_has_thread()
198 actionv[actionid - 1].sample, sample_flags); in kperf_sample_user()
405 unsigned int sample_what = actionv[actionid - 1].sample; in kperf_sample()
417 struct kperf_sample *sample = NULL; in kperf_kdebug_handler() local
439 sample = kperf_intr_sample_buffer(); in kperf_kdebug_handler()
446 kr = kperf_sample(sample, &ctx, kperf_kdebug_get_action(), sample_flags); in kperf_kdebug_handler()
600 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-8020.101.4/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-8020.101.4/osfmk/prng/
H A Dentropy.c187 entropy_analysis_store(entropy_sample_t sample) in entropy_analysis_store() argument
200 entropy_analysis_buffer[sample_count] = sample; in entropy_analysis_store()
240 entropy_sample_t sample = (entropy_sample_t)ml_get_timebase_entropy(); in entropy_collect() local
241 e->samples[sample_count] = sample; in entropy_collect()
252 entropy_analysis_store(sample); in entropy_collect()
/xnu-8020.101.4/osfmk/kern/
H A Dbtlog.h175 uint32_t sample);
H A Dbtlog.c1370 btlog_create(btlog_type_t type, uint32_t count, uint32_t sample) in btlog_create() argument
1383 if (sample > BTL_SAMPLE_LIMIT) { in btlog_create()
1384 sample = BTL_SAMPLE_LIMIT; in btlog_create()
1388 btlu.btl->btl_sample_max = sample; in btlog_create()
1393 if (sample > 1) { in btlog_create()
1400 *counter = (cpu + 1) * sample / zpercpu_count(); in btlog_create()
/xnu-8020.101.4/tools/lldbmacros/
H A Dktrace.py186 samplers = xnudefines.GetStateString(xnudefines.kperf_samplers_strings, action.sample)
320 action_samplers.append(unsigned(action.sample))
/xnu-8020.101.4/bsd/man/man2/
H A Dgetdirentriesattr.2133 The sample code (below) shows how to do this.
/xnu-8020.101.4/tests/
H A Dstackshot_tests.m646 T_HELPER_DECL(zombie_child, "child process to sample as a zombie")
775 T_HELPER_DECL(exec_child_postexec, "child process post-exec to sample")