Home
last modified time | relevance | path

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

/xnu-10063.121.3/libkdd/kdd.xcodeproj/
H A Dproject.pbxproj27 …8BDA9A /* stackshot-sample-codesigning in Resources */ = {isa = PBXBuildFile; fileRef = 071A935B29…
28 …9A /* stackshot-sample-codesigning.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 071A9…
29 …00371A54 /* stackshot-sample-duration in Resources */ = {isa = PBXBuildFile; fileRef = 081725D31C3…
30 …A54 /* stackshot-sample-duration.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 081725D…
31 …00A1C138 /* stackshot-sample-cputime in Resources */ = {isa = PBXBuildFile; fileRef = 081EDD361C23…
32 …C138 /* stackshot-sample-cputime.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 081EDD3…
36 …AFC600CD4150 /* stackshot-sample in Resources */ = {isa = PBXBuildFile; fileRef = 0843EE911BF6AFB7…
37 …00CD4150 /* stackshot-sample.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 0843EE931BF…
38 …BB008A085B /* stackshot-sample-asid in Resources */ = {isa = PBXBuildFile; fileRef = 084422F62048B…
39 …A085B /* stackshot-sample-asid.plist.gz in Resources */ = {isa = PBXBuildFile; fileRef = 084422F72…
[all …]
/xnu-10063.121.3/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-10063.121.3/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-10063.121.3/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()
235 entropy_sample_t sample = (entropy_sample_t)ml_get_timebase_entropy(); in entropy_collect() local
236 e->samples[sample_count] = sample; in entropy_collect()
247 entropy_analysis_store(sample); in entropy_collect()
/xnu-10063.121.3/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-10063.121.3/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-10063.121.3/tools/lldbmacros/
H A Dktrace.py182 samplers = xnudefines.GetStateString(xnudefines.kperf_samplers_strings, action.sample)
317 action_samplers.append(unsigned(action.sample))
/xnu-10063.121.3/bsd/man/man2/
H A Dgetdirentriesattr.2133 The sample code (below) shows how to do this.
/xnu-10063.121.3/tests/
H A Dstackshot_tests.m743 T_HELPER_DECL(zombie_child, "child process to sample as a zombie")
872 T_HELPER_DECL(exec_child_postexec, "child process post-exec to sample")