| /xnu-11417.101.15/libkdd/kdd.xcodeproj/ |
| H A D | project.pbxproj | 27 …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-11417.101.15/osfmk/kern/ |
| H A D | telemetry.c | 619 struct _telemetry_kernel_sample *sample) in _telemetry_kernel_snapshot() argument 624 .ms_cpu = sample->tks_cpu, in _telemetry_kernel_snapshot() 625 .ms_time = sample->tks_time_secs, in _telemetry_kernel_snapshot() 626 .ms_time_microsecs = sample->tks_time_usecs, in _telemetry_kernel_snapshot() 634 sample->tks_system_time_in_terminated_threads, in _telemetry_kernel_snapshot() 635 .task_size = sample->tks_task_size, in _telemetry_kernel_snapshot() 636 .faults = sample->tks_faults, in _telemetry_kernel_snapshot() 637 .pageins = sample->tks_pageins, in _telemetry_kernel_snapshot() 638 .cow_faults = sample->tks_cow_faults, in _telemetry_kernel_snapshot() 647 [0] = ((uint64_t)sample->tks_telemetry_source << 32) | sample->tks_telemetry_generation, in _telemetry_kernel_snapshot() [all …]
|
| H A D | btlog.h | 175 uint32_t sample);
|
| H A D | btlog.c | 1359 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-11417.101.15/osfmk/kperf/ |
| H A D | lazy.c | 109 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 D | action.c | 66 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() 425 unsigned int sample_what = actionv[actionid - 1].sample; in kperf_sample() 437 struct kperf_sample *sample = NULL; in kperf_kdebug_handler() local 460 sample = kperf_intr_sample_buffer(); in kperf_kdebug_handler() 462 kr = kperf_sample(sample, &ctx, kperf_kdebug_get_action(), sample_flags); in kperf_kdebug_handler() 656 actionv[actionid - 1].sample = samplers; in kperf_action_set_samplers() [all …]
|
| H A D | pet.c | 200 struct kperf_sample *sample = kperf_intr_sample_buffer(); in kppet_on_cpu() local 201 if (!sample) { in kppet_on_cpu() 210 kperf_sample(sample, &ctx, actionid, flags); in kppet_on_cpu()
|
| /xnu-11417.101.15/san/tools/ |
| H A D | kstksz | 80 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-11417.101.15/osfmk/prng/ |
| H A D | entropy.c | 180 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-11417.101.15/doc/observability/ |
| H A D | cpu_counters.md | 40 …samples of thread states and call stacks using CPMU PMIs, allowing it to sample thread states and …
|
| /xnu-11417.101.15/tools/lldbmacros/ |
| H A D | ktrace.py | 182 samplers = xnudefines.GetStateString(xnudefines.kperf_samplers_strings, action.sample) 316 action_samplers.append(unsigned(action.sample))
|
| /xnu-11417.101.15/bsd/man/man2/ |
| H A D | getdirentriesattr.2 | 133 The sample code (below) shows how to do this.
|
| /xnu-11417.101.15/tests/ |
| H A D | stackshot_tests.m | 761 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")
|