/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
tsan_stack_test.cc | 21 static void TestStackTrace(StackTraceTy *trace) { 28 ObtainCurrentStack(&thr, 0, trace); 29 EXPECT_EQ(0U, trace->size); 31 ObtainCurrentStack(&thr, 42, trace); 32 EXPECT_EQ(1U, trace->size); 33 EXPECT_EQ(42U, trace->trace[0]); 37 ObtainCurrentStack(&thr, 0, trace); 38 EXPECT_EQ(2U, trace->size); 39 EXPECT_EQ(100U, trace->trace[0]) 76 VarSizeStackTrace trace; local in function:__tsan::TEST 81 BufferedStackTrace trace; local in function:__tsan::TEST 86 VarSizeStackTrace trace; local in function:__tsan::TEST 91 BufferedStackTrace trace; local in function:__tsan::TEST [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_stacktrace_test.cc | 27 trace.Unwind(max_depth, start_pc, (uptr)&fake_stack[0], 0, fake_top, 38 BufferedStackTrace trace; member in class:__sanitizer::FastUnwindTest 59 // Mark the last fp point back up to terminate the stack trace. 78 EXPECT_EQ(6U, trace.size); 79 EXPECT_EQ(start_pc, trace.trace[0]); 81 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); 92 EXPECT_EQ(4U, trace.size); 93 EXPECT_EQ(start_pc, trace.trace[0]) [all...] |
sanitizer_stackdepot_test.cc | 25 EXPECT_NE(stack.trace, (uptr*)0); 27 EXPECT_EQ(0, internal_memcmp(stack.trace, array, sizeof(array))); 32 EXPECT_EQ((uptr*)0, stack.trace); 38 EXPECT_EQ((uptr*)0, stack.trace); 43 EXPECT_EQ((uptr*)0, stack.trace); 53 EXPECT_NE(stack.trace, (uptr*)0); 55 EXPECT_EQ(0, internal_memcmp(stack.trace, array, sizeof(array))); 89 EXPECT_EQ(stack.trace, from_map.trace);
|
/src/bin/sh/ |
show.h | 39 void trace(const char *, ...);
|
shell.h | 51 * When debugging is on, debugging info will be written to ./trace and 107 * just how much debug output is dumped to the trace file 114 trace param; \ 119 trace param; \ 129 trace param; \ 137 trace param; \ 143 trace param; \ 155 trace param; \ 210 #define CTRACE(when, param) /* conditional normal trace */ 211 #define CCTRACE(when, cond, param) /* more conditional normal trace */ [all...] |
/src/usr.bin/make/unit-tests/ |
opt-tracefile.mk | 3 # Tests for the command line option '-T', which in jobs mode appends a trace 4 # record to a trace log whenever a job is started or completed. 8 @${MAKE} -f ${MAKEFILE} -j1 -Topt-tracefile.log trace 12 trace dependency1 dependency2: .PHONY target 15 trace: dependency1 dependency2 target
|
opt-debug-parse.mk | 15 # by merging stack trace entries, printing confusing line numbers as a result. 20 # expect+1: trace with multi-line .for loop head 21 .info trace with multi-line .for loop head 30 # the stack trace, just as with a single variable. 32 # expect+2: trace 33 # expect+1: trace 34 .info trace
|
opt-debug-x-trace.mk | 1 # $NetBSD: opt-debug-x-trace.mk,v 1.2 2022/01/23 16:09:38 rillig Exp $
|
/src/lib/libexecinfo/ |
builtin.c | 55 backtrace(void **trace, size_t len) 63 trace[i] = frame->return_address;
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_stacktrace.h | 42 const uptr *trace; member in struct:__sanitizer::StackTrace 51 StackTrace() : trace(nullptr), size(0), tag(0) {} 52 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} 53 StackTrace(const uptr *trace, u32 size, u32 tag) 54 : trace(trace), size(size), tag(tag) {} 128 // Use this macro if you want to print stack trace with the caller 140 // Use this macro if you want to print stack trace with the curren [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
mock_uncore.c | 34 nop_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { } 41 nop_read##x(struct intel_uncore *uncore, i915_reg_t reg, bool trace) { return 0; }
|
/src/usr.bin/tftp/ |
extern.h | 36 extern int trace;
|
/src/sbin/routed/ |
Makefile | 6 SRCS= if.c input.c main.c output.c parms.c radix.c rdisc.c table.c trace.c 18 COPTS.trace.c = -Wno-format-nonliteral
|
/src/games/backgammon/backgammon/ |
extra.c | 45 FILE *trace; variable in typeref:typename:FILE * 126 if (trace == NULL) 127 trace = fopen("bgtrace", "w"); 133 fputs("\nDoubles:\nBoard: ", trace); 135 fprintf(trace, " %d", board[i]); 136 fprintf(trace, "\n\tpip = %d, ", n); 171 fprintf(trace, "off = %d, ", n); 181 fprintf(trace, "free = %d\n", n); 182 fprintf(trace, "\tOFFC = %d, OFFO = %d\n", OFFC, OFFO); 183 fflush(trace); [all...] |
move.c | 47 FILE *trace; variable in typeref:typename:FILE * 386 if (trace == NULL) 387 trace = fopen("bgtrace", "w"); 388 fprintf(trace, "\nRoll: %d %d%s\n", D0, D1, race ? " (race)" : ""); 389 fflush(trace); 425 if (trace == NULL) 426 trace = fopen("bgtrace", "w"); 448 fputs("Board: ", trace); 450 fprintf(trace, " %d", board[i]); 452 fprintf(trace, "\n\tem = %d\n", em) [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_debugging.cc | 50 uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, 66 if (trace && size) { 69 trace[i] = StackTrace::GetPreviousInstructionPc(stack.trace[i]); 132 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { 133 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); 137 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { 138 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false);
|
/src/sys/sys/ |
trace.h | 1 /* $NetBSD: trace.h,v 1.12 2017/12/19 18:47:58 kamil Exp $ */ 31 * @(#)trace.h 8.1 (Berkeley) 6/2/93 38 * File system buffer tracing points; all trace <pack(dev, size), bn> 51 * Memory allocator trace points; all trace the amount of memory involved 56 * Paging trace points: all are <vaddr, pid> 80 * This defines the size of the trace flags array. 91 #define VTR_DISABLE 0 /* set a trace flag to 0 */ 92 #define VTR_ENABLE 1 /* set a trace flag to 1 */ 93 #define VTR_VALUE 2 /* return value of a trace flag * 105 #define trace macro 110 #define trace macro [all...] |
/src/usr.sbin/timed/timed/ |
candidate.c | 65 if (trace) 69 if (trace) 75 if (trace) 152 if (trace) {
|
readmsg.c | 89 if (trace) { 140 if (trace) { 152 if (trace) 185 if (trace) { 189 /* Notice a full disk, as we flush trace info. 229 if (trace) { 264 if (trace) { 285 if (trace) { 309 if (trace) { 320 if (trace) [all...] |
networkdelta.c | 105 if (trace) 131 if (trace) 137 if (trace) 142 if (trace) 208 if (trace) 233 if (trace) 259 if (trace)
|
/src/tests/bin/sh/ |
t_option.sh | 587 rm -f X-trace 591 ${TEST_SH} -ec 'PS4=; set -X 2>X-trace; printf "%s" OK; echo OK' 592 test -s X-trace || atf_fail "T1: Failed to create trace output file" 593 grep >/dev/null 2>&1 'printf.*%s.*OK' X-trace || 595 grep >/dev/null 2>&1 'echo.*OK' X-trace || 598 rm -f X-trace 603 'PS4=; set -X 2>X-trace; 607 test -s X-trace || atf_fail "T2: Failed to create trace output file [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_debugging.cc | 50 static void CopyTrace(SymbolizedStack *first_frame, void **trace, 55 trace[i++] = (void *)frame->info.address; 93 int __tsan_get_report_stack(void *report, uptr idx, void **trace, 98 if (stack) CopyTrace(stack->frames, trace, trace_size); 104 int *size, int *write, int *atomic, void **trace, 114 if (mop->stack) CopyTrace(mop->stack->frames, trace, trace_size); 121 int *fd, int *suppressable, void **trace, 133 if (loc->stack) CopyTrace(loc->stack->frames, trace, trace_size); 149 int *destroyed, void **trace, uptr trace_size) { 156 if (mutex->stack) CopyTrace(mutex->stack->frames, trace, trace_size) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_init.c | 55 #define trace(fmt, args...) bioslog(TRACE, fmt, ##args) macro 329 trace("auxch read failed with %d\n", ret); 342 trace("auxch write failed with %d\n", ret); 492 trace("\t[0x%02x] (R[0x%06x] & 0x%08x) == 0x%08x\n", 509 trace("\t[0x%02x] (0x%04x[0x%02x] & 0x%02x) == 0x%02x\n", 603 trace("RESERVED 0x%02x\t", opcode); 617 trace("DONE\n"); 637 trace("IO_RESTRICT_PROG\tR[0x%06x] = " 647 trace("\t0x%08x *\n", data) [all...] |
/src/games/banner/ |
banner.c | 1025 static int debug, linen, max, nchars, pc, term, trace; variable in typeref:typename:int 1048 trace = 1; 1124 if (trace) 1129 if (trace) 1142 if (trace) { 1171 if (trace)
|
/src/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
asan_interface.h | 91 // Useful for calling from the debugger to get the allocation stack trace 92 // and thread ID for a heap address. Stores up to 'size' frames into 'trace', 94 size_t __asan_get_alloc_stack(void *addr, void **trace, size_t size, 97 // Useful for calling from the debugger to get the free stack trace 98 // and thread ID for a heap address. Stores up to 'size' frames into 'trace', 100 size_t __asan_get_free_stack(void *addr, void **trace, size_t size,
|