| /xnu-11215/san/tools/ |
| H A D | ksancov.h | 326 assert(trace); in ksancov_trace_max_ent() 327 return trace->kt_maxent; in ksancov_trace_max_ent() 331 ksancov_trace_head(ksancov_trace_t *trace) in ksancov_trace_head() argument 333 assert(trace); in ksancov_trace_head() 334 size_t maxent = trace->kt_maxent; in ksancov_trace_head() 342 assert(trace); in ksancov_trace_entry() 344 if (i >= trace->kt_head) { in ksancov_trace_entry() 355 assert(trace); in ksancov_stksize_pc() 357 if (i >= trace->kt_head) { in ksancov_stksize_pc() 368 assert(trace); in ksancov_stksize_size() [all …]
|
| /xnu-11215/tools/trace/ |
| H A D | wqtrace.lua | 4 local debugid = trace.debugid(codename) 6 trace.single(debugid,callback) 21 if trace.debugid_is_start(buf.debugid) then 23 elseif trace.debugid_is_end(buf.debugid) then 111 if trace.debugid_is_start(buf.debugid) then 120 if trace.debugid_is_start(buf.debugid) then 135 if trace.debugid_is_start(buf.debugid) then 186 if trace.debugid_is_start(buf.debugid) then 193 trace.enable_thread_cputime() 198 if trace.debugid_is_start(buf.debugid) then [all …]
|
| H A D | ios_trace_ipc.sh | 13 trace -i -b 8192 14 trace -n 15 trace -g 24 trace -L ${ofile} -k ${CODE_MACH_KMSG_INFO} -k ${CODE_MACH_PROC_EXEC} -k ${CODE_MACH_MSG_SEND} -k $…
|
| H A D | kqtrace.lua | 4 local debugid = trace.debugid(codename) 6 trace.single(debugid,callback) 18 local secs = trace.convert_timestamp_to_nanoseconds(buf.timestamp - initial_timestamp) / 1000000000 21 if trace.debugid_is_start(buf.debugid) then 23 elseif trace.debugid_is_end(buf.debugid) then 215 if trace.debugid_is_start(buf.debugid) then
|
| H A D | bridgetime.lua | 4 local debugid = trace.debugid(codename) 6 trace.single(debugid,callback) 17 local secs = trace.convert_timestamp_to_nanoseconds(buf.timestamp - initial_timestamp) / 1000000000 25 local secs = trace.convert_timestamp_to_nanoseconds(ts - initial_arm_timestamp) / 1000000000
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOFilterInterruptEventSource.cpp | 173 bool trace = (gIOKitTrace & kIOTraceIntEventSource) ? true : false; in signalInterrupt() local 178 if (trace) { in signalInterrupt() 184 if (trace) { in signalInterrupt() 215 bool trace = (gIOKitTrace & kIOTraceIntEventSource) ? true : false; in normalInterruptOccurred() local 217 if (trace) { in normalInterruptOccurred() 250 if (trace) { in normalInterruptOccurred() 268 bool trace = (gIOKitTrace & kIOTraceIntEventSource) ? true : false; in disableInterruptOccurred() local 270 if (trace) { in disableInterruptOccurred() 303 if (trace) { in disableInterruptOccurred()
|
| H A D | IOInterruptEventSource.cpp | 328 bool trace = (gIOKitTrace & kIOTraceIntEventSource) ? true : false; in checkForWork() local 339 if (trace) { in checkForWork() 379 if (trace) { in checkForWork() 391 if (trace) { in checkForWork() 431 if (trace) { in checkForWork() 451 bool trace = (gIOKitTrace & kIOTraceIntEventSource) ? true : false; in normalInterruptOccurred() local 456 if (trace) { in normalInterruptOccurred() 471 if (trace) { in normalInterruptOccurred() 480 bool trace = (gIOKitTrace & kIOTraceIntEventSource) ? true : false; in disableInterruptOccurred() local 487 if (trace) { in disableInterruptOccurred() [all …]
|
| H A D | IOCommandGate.cpp | 237 bool trace = (gIOKitTrace & kIOTraceCommandGates) ? true : false; in runAction() local 239 if (trace) { in runAction() 252 if (trace) { in runAction() 292 bool trace = (gIOKitTrace & kIOTraceCommandGates) ? true : false; in attemptAction() local 294 if (trace) { in attemptAction() 303 if (trace) { in attemptAction()
|
| H A D | IOCommandQueue.cpp | 163 bool trace = (gIOKitTrace & kIOTraceCommandGates) ? true : false; in checkForWork() local 182 if (trace) { in checkForWork() 190 if (trace) { in checkForWork()
|
| H A D | IOTimerEventSource.cpp | 108 bool trace = (gIOKitTrace & kIOTraceTimers) ? true : false; in invokeAction() local 117 if (trace) { in invokeAction() 133 if (trace) { in invokeAction()
|
| H A D | IOInterruptController.cpp | 826 bool trace = (gIOKitTrace & kIOTraceInterrupts) ? true : false; in handleInterrupt() local 828 if (trace) { in handleInterrupt() 835 if (trace) { in handleInterrupt()
|
| /xnu-11215/san/coverage/ |
| H A D | kcov_ksancov.c | 222 uint32_t idx = os_atomic_inc_orig(&dev->trace->kt_head, relaxed); in trace_pc_guard_pcs() 501 if (d->mode == KS_MODE_TRACE && d->trace) { in free_dev() 502 kmem_free(kernel_map, (uintptr_t)d->trace, d->sz); in free_dev() 566 if (!d->trace) { in ksancov_map() 569 addr = (uintptr_t)d->trace; in ksancov_map() 674 assert(d->trace == NULL); in ksancov_trace_alloc() 700 struct ksancov_trace *trace = (struct ksancov_trace *)buf; in ksancov_trace_alloc() local 702 os_atomic_init(&trace->kt_head, 0); in ksancov_trace_alloc() 703 os_atomic_init(&trace->kt_hdr.kh_enabled, 0); in ksancov_trace_alloc() 704 trace->kt_maxent = (uint32_t)maxpcs; in ksancov_trace_alloc() [all …]
|
| H A D | kcov_ksancov_data.h | 103 ksancov_trace_t *trace; member
|
| /xnu-11215/bsd/sys/ |
| H A D | queue.h | 162 #define TRACEBUF struct qm_trace trace; 166 (head)->trace.prevline = (head)->trace.lastline; \ 167 (head)->trace.prevfile = (head)->trace.lastfile; \ 168 (head)->trace.lastline = __LINE__; \ 169 (head)->trace.lastfile = __FILE__; \ 173 (elem)->trace.prevline = (elem)->trace.lastline; \ 174 (elem)->trace.prevfile = (elem)->trace.lastfile; \ 175 (elem)->trace.lastline = __LINE__; \ 176 (elem)->trace.lastfile = __FILE__; \
|
| H A D | trace.h | 143 #define trace(a, b, c) { \ macro 148 #define trace(a, b, c) macro
|
| H A D | Makefile | 45 timeb.h times.h trace.h tty.h ttycom.h \ 311 $(_v)$(MAKESYSCALLS) $< trace > $@ 314 $(OBJROOT)/trace.codes: $(SRCROOT)/bsd/kern/trace_codes $(OBJROOT)/syscall.codes 346 $(DSTROOT)/$(INSTALL_SHARE_MISC_DIR)/trace.codes 348 $(TRACE_CODES_DEST): $(OBJROOT)/trace.codes 351 $(_v)$(INSTALL) $(INSTALL_FLAGS) $(OBJROOT)/trace.codes $@
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | mbufs.py | 1142 def GetMbufTraceLeak(trace): argument 1144 if (trace != 0 and trace.allocs != 0): 1145 out_string += hex(trace) + ":" + str(trace.allocs) + " outstanding allocs\n" 1147 if (trace.depth != 0): 1149 while (cnt < trace.depth): 1151 out_string += GetPc(trace.addr[cnt]) 1170 if (trace.size == 0): 1173 print(str(trace.size)) 1174 if (trace.depth != 0): 1176 while (cnt < trace.depth): [all …]
|
| /xnu-11215/tests/sched/ |
| H A D | cluster_bound_threads.c | 73 trace_handle_t trace = begin_collect_trace("test_cluster_bound_thread_timeshare"); variable 102 end_collect_trace(trace);
|
| /xnu-11215/libkern/os/ |
| H A D | Makefile | 17 trace.h
|
| /xnu-11215/bsd/kern/ |
| H A D | makesyscalls.sh | 103 trace)
|
| H A D | uipc_mbuf.c | 9066 struct mtrace *trace; local 9084 trace->hitcount++; 9104 trace->collisions++; 9110 trace->allocs++; 9118 trace->allocs = 1; 9120 trace->depth = depth; 9121 trace->collisions = 0; 9161 trace->allocs--; 9164 trace->depth = 0; 10174 if (trace->size == size && trace->depth == depth && [all …]
|
| /xnu-11215/osfmk/mach/ |
| H A D | ktrace_background.defs | 31 * kernel trace facility.
|
| /xnu-11215/doc/observability/ |
| H A D | mt_stackshot.md | 120 In debug and development builds, Stackshot takes a "trace" of itself during 159 buffer and print a trace would be helpful.
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_bio.c | 2273 trace(TR_BREADMISS, pack(vp, size), blkno); in bio_doread() 2294 trace(TR_BREADHIT, pack(vp, size), blkno); in bio_doread() 2419 trace(TR_BUFWRITE, pack(vp, bp->b_bcount), bp->b_lblkno); in buf_bwrite() 2762 trace(TR_BRELSE, pack(bp->b_vp, bp->b_bufsize), bp->b_lblkno); in buf_brelse() 3935 trace(TR_BRELSE, pack(bp->b_vp, bp->b_bufsize), bp->b_lblkno); in bcleanbuf() 4902 trace(TR_BRELSE, pack(bp->b_vp, bp->b_bufsize), bp->b_lblkno); in buffer_cache_gc()
|
| /xnu-11215/bsd/net/ |
| H A D | ntstat.c | 560 nstat_cyclic_trace *trace; in nstat_trace() local 564 trace = &nstat_global_trace; in nstat_trace() 566 trace = client->ntc_trace; in nstat_trace() 568 if (trace != NULL) { in nstat_trace() 569 seqno = OSIncrementAtomic(&trace->ntt_next_trace_id); in nstat_trace() 574 entry = &trace->ntt_entry[index]; in nstat_trace()
|