Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 23 of 23) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dtelemetry.c521 size_t frames_len = sizeof(frames) / sizeof(frames[0]); in telemetry_take_sample()
564 .frames = frames, in telemetry_take_sample()
638 frames = kalloc_data(btcapacity * sizeof(*frames), Z_WAITOK); in telemetry_macf_take_sample()
640 if (frames == NULL) { in telemetry_macf_take_sample()
650 frames = krealloc_data(frames, in telemetry_macf_take_sample()
655 if (frames == NULL) { in telemetry_macf_take_sample()
669 if (frames == NULL) { in telemetry_macf_take_sample()
680 .frames = frames, in telemetry_macf_take_sample()
712 kfree_data(frames, btcapacity * sizeof(*frames)); in telemetry_macf_take_sample()
725 uintptr_t *frames = target->frames; in telemetry_process_sample() local
[all …]
H A Dtelemetry.h157 uintptr_t *frames,
164 uintptr_t *frames);
H A Dexclaves_panic.c180 if ((exclaves_panic_buffer.panicked_thread.backtrace.frames > in exclaves_append_panic_backtrace()
187 for (size_t i = 0; i < exclaves_panic_buffer.panicked_thread.backtrace.frames; i++) { in exclaves_append_panic_backtrace()
H A Dexclaves.c1254 size_t frames = exclaves_callbacks->v1.frames(); in exclaves_scheduler_init() local
1256 frames * sizeof(XrtHosted_Mapped_t *), in exclaves_scheduler_init()
1260 while (index < frames) { in exclaves_scheduler_init()
1283 XrtHosted_Region_scattered(frames, pages)); in exclaves_scheduler_init()
/xnu-11215/tests/ktrace/
H A Dkperf_backtracing_tests.c71 __block unsigned int frames = 0; in expect_backtrace() local
132 frames = 0; in expect_backtrace()
142 if (frames == 0 && hdr_frames > bt_len) { in expect_backtrace()
148 for (; i < 4 && frames < hdr_frames; i++, frames++) { in expect_backtrace()
157 if (hdr_frames == frames) { in expect_backtrace()
181 recurse_a(dispatch_semaphore_t spinning, unsigned int frames) in recurse_a() argument
183 if (frames == 0) { in recurse_a()
195 return recurse_b(spinning, frames - 1) + 1; in recurse_a()
199 recurse_b(dispatch_semaphore_t spinning, unsigned int frames) in recurse_b() argument
201 if (frames == 0) { in recurse_b()
[all …]
/xnu-11215/tests/skywalk/
H A Dskywalk_test_utils.h179 struct sktu_frame **frames, size_t max_frames, const void *data,
183 struct sktu_frame **frames, size_t max_frames, const void *data,
301 struct sktu_frame **frames, uint32_t n);
306 packet_t *frames, uint32_t n);
308 struct sktu_frame **frames, uint32_t n);
310 struct sktu_frame **frames, uint32_t n);
315 extern void sktu_utun_fd_tx_burst(int utun_fd, struct sktu_frame **frames,
325 extern void sktu_frames_free(struct sktu_frame **frames, size_t n);
327 extern size_t sktu_create_ip_frames(struct sktu_frame **frames, size_t n,
330 extern size_t sktu_create_ip6_frames(struct sktu_frame **frames, size_t n,
[all …]
H A Dskywalk_test_utils.c1910 ret = sktu_channel_port_tx_burst(port, frames, n); in sktu_channel_port_tx_bulk()
2166 frames[i] = sktu_channel_port_rx(port); in sktu_channel_port_rx_burst()
2167 if (frames[i] == NULL) { in sktu_channel_port_rx_burst()
2187 ret = sktu_channel_port_rx_burst(port, frames, n); in sktu_channel_port_rx_bulk()
2283 struct sktu_frame *frame = frames[i]; in sktu_utun_fd_tx_burst()
2326 sktu_frames_free(struct sktu_frame **frames, size_t n) in sktu_frames_free() argument
2329 sktu_frame_free(frames[i]); in sktu_frames_free()
2330 frames[i] = NULL; in sktu_frames_free()
2605 struct sktu_frame **frames, size_t n_frames) in sktu_attach_flow_metadata_to_frames() argument
2608 struct sktu_frame *frame = frames[i]; in sktu_attach_flow_metadata_to_frames()
[all …]
/xnu-11215/osfmk/kperf/
H A Dcallstack.c426 uintptr_t *frames = vframes; in callstack_log() local
437 uint64_t *frames = vframes; in callstack_log() local
440 scrub_frame(frames, nframes, j + 0), in callstack_log()
441 scrub_frame(frames, nframes, j + 1), in callstack_log()
442 scrub_frame(frames, nframes, j + 2), in callstack_log()
443 scrub_frame(frames, nframes, j + 3)); in callstack_log()
475 uint64_t frames[MAX_EXCALLSTACK_FRAMES] = {}; in kperf_excallstack_log() local
476 uint64_t *frames_block = frames; in kperf_excallstack_log()
947 uint64_t *frames, argument
1050 uint64_t *frames, argument
[all …]
/xnu-11215/tests/
H A Dbacktracing_tests.c223 recurse_a(enum test_scenario, unsigned int frames);
225 recurse_b(enum test_scenario, unsigned int frames);
228 recurse_a(enum test_scenario scenario, unsigned int frames) in recurse_a() argument
230 if (frames == 1) { in recurse_a()
236 return recurse_b(scenario, frames - 1) + 1; in recurse_a()
240 recurse_b(enum test_scenario scenario, unsigned int frames) in recurse_b() argument
242 if (frames == 1) { in recurse_b()
248 return recurse_a(scenario, frames - 1) + 1; in recurse_b()
H A Dstackshot_accuracy.m219 /* skip threads that don't have enough frames */
237 "found kernel stack frames");
326 /* check that the stackshot has the stack frames */
375 /* check that the stackshot has the stack frames */
458 /* check that the stackshot has the stack frames */
511 /* check that the stackshot has the stack frames */
558 /* check that the stackshot has the stack frames */
H A Dstackshot_tests.m3421 T_EXPECT_FALSE(found_null_kernel_frame, "should not see any NULL kernel frames");
/xnu-11215/san/memory/
H A Dkasan-report.c146 uintptr_t frames[14]; in kasan_log_report() local
147 uint32_t nframes = ARRAY_COUNT(frames); in kasan_log_report()
148 uintptr_t *bt = frames; in kasan_log_report()
H A Dkasan_dynamic_blacklist.c353 uintptr_t frames[MAX_FRAMES]; in kasan_is_blacklisted() local
354 uintptr_t *bt = frames; in kasan_is_blacklisted()
/xnu-11215/osfmk/vm/
H A Dvm_sanitize_telemetry.c184 uintptr_t frames[VM_SANITIZE_BACKTRACE_FRAME_COUNT]; in vm_sanitize_populate_symbolicatable_backtrace_string() local
188 int backtrace_count = backtrace(frames, VM_SANITIZE_BACKTRACE_FRAME_COUNT, &ctl, &info); in vm_sanitize_populate_symbolicatable_backtrace_string()
189 telemetry_backtrace_to_string(buffer, buf_size, backtrace_count, frames); in vm_sanitize_populate_symbolicatable_backtrace_string()
/xnu-11215/tools/lldbmacros/
H A Dkmtriage.py34 for frame in thread_val.frames:
H A Dkcdata.py1938 frames = []
1946 frames.append(GetSymbolInfoForFrame(AllImageCatalog, exclave_libs, lr))
1948 if frames:
1949 frame_info = "frames %d to %d" % (notes.offset, notes.offset + len(frames) - 1)
1953 notes.addToOffset(len(frames))
1954 return frames
1979 frames = []
1989 frames.extend(entry_frames)
1991 return frames
H A Dkext.py509 for frame in thread_lldb_SBThread.frames:
H A Dprocess.py1263 for frame in thread_val.frames:
1541 for frame in thread_val.frames:
1771 FramePtr = ThreadVal.frames[0].GetFP()
H A Dxnu.py562 for frame in thread_val.frames:
/xnu-11215/libkern/
H A DOSKextLib.cpp490 uintptr_t *frames, in telemetry_backtrace_add_kexts() argument
495 OSKext::foreachKextInBacktrace(frames, framecnt, OSKext::kPrintKextsLock, in telemetry_backtrace_add_kexts()
/xnu-11215/tools/lldbmacros/kmemory/
H A Dbtlog.py73 def frames(self): member in BTStack
80 return (prefix + GetSourceInformationForAddress(pc) for pc in self.frames)
/xnu-11215/san/tools/
H A Dkstksz213 …-- When reading from a file, we can't use CoreSymbolication to symbolicate the stack frames as the…
/xnu-11215/libsyscall/mach/
H A Derr_iokit.sub81 "(iokit/common) no DMA frames enqueued", // 0x2e0