| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
| H A D | tsan_stack_test.cc | 21 static void TestStackTrace(StackTraceTy *trace) { in TestStackTrace() argument 28 ObtainCurrentStack(&thr, 0, trace); in TestStackTrace() 29 EXPECT_EQ(0U, trace->size); in TestStackTrace() 31 ObtainCurrentStack(&thr, 42, trace); in TestStackTrace() 32 EXPECT_EQ(1U, trace->size); in TestStackTrace() 33 EXPECT_EQ(42U, trace->trace[0]); in TestStackTrace() 37 ObtainCurrentStack(&thr, 0, trace); in TestStackTrace() 38 EXPECT_EQ(2U, trace->size); in TestStackTrace() 39 EXPECT_EQ(100U, trace->trace[0]); in TestStackTrace() 40 EXPECT_EQ(101U, trace->trace[1]); in TestStackTrace() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/opcodes/ |
| H A D | rl78-decode.c | 33 static int trace = 0; variable 204 if (trace) in rl78_decode_opcode() 226 if (trace) in rl78_decode_opcode() 242 if (trace) in rl78_decode_opcode() 257 if (trace) in rl78_decode_opcode() 272 if (trace) in rl78_decode_opcode() 287 if (trace) in rl78_decode_opcode() 304 if (trace) in rl78_decode_opcode() 319 if (trace) in rl78_decode_opcode() 336 if (trace) in rl78_decode_opcode() [all …]
|
| H A D | rx-decode.c | 43 static int trace = 0; variable 316 if (trace) in rx_decode_opcode() 331 if (trace) in rx_decode_opcode() 346 if (trace) in rx_decode_opcode() 364 if (trace) in rx_decode_opcode() 382 if (trace) in rx_decode_opcode() 397 if (trace) in rx_decode_opcode() 429 if (trace) in rx_decode_opcode() 490 if (trace) in rx_decode_opcode() 554 if (trace) in rx_decode_opcode() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/opcodes/ |
| H A D | rl78-decode.c | 33 static int trace = 0; variable 204 if (trace) in rl78_decode_opcode() 226 if (trace) in rl78_decode_opcode() 242 if (trace) in rl78_decode_opcode() 257 if (trace) in rl78_decode_opcode() 272 if (trace) in rl78_decode_opcode() 287 if (trace) in rl78_decode_opcode() 304 if (trace) in rl78_decode_opcode() 319 if (trace) in rl78_decode_opcode() 336 if (trace) in rl78_decode_opcode() [all …]
|
| H A D | rx-decode.c | 43 static int trace = 0; variable 316 if (trace) in rx_decode_opcode() 331 if (trace) in rx_decode_opcode() 346 if (trace) in rx_decode_opcode() 364 if (trace) in rx_decode_opcode() 382 if (trace) in rx_decode_opcode() 397 if (trace) in rx_decode_opcode() 429 if (trace) in rx_decode_opcode() 490 if (trace) in rx_decode_opcode() 554 if (trace) in rx_decode_opcode() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stacktrace_test.cc | 27 trace.Unwind(max_depth, start_pc, (uptr)&fake_stack[0], 0, fake_top, in TryFastUnwind() 38 BufferedStackTrace trace; member in __sanitizer::FastUnwindTest 78 EXPECT_EQ(6U, trace.size); in TEST_F() 79 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F() 81 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F() 92 EXPECT_EQ(4U, trace.size); in TEST_F() 93 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F() 95 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F() 105 EXPECT_EQ(4U, trace.size); in TEST_F() 106 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F() [all …]
|
| H A D | sanitizer_stackdepot_test.cc | 25 EXPECT_NE(stack.trace, (uptr*)0); in TEST() 27 EXPECT_EQ(0, internal_memcmp(stack.trace, array, sizeof(array))); in TEST() 32 EXPECT_EQ((uptr*)0, stack.trace); in TEST() 38 EXPECT_EQ((uptr*)0, stack.trace); in TEST() 43 EXPECT_EQ((uptr*)0, stack.trace); in TEST() 53 EXPECT_NE(stack.trace, (uptr*)0); in TEST() 55 EXPECT_EQ(0, internal_memcmp(stack.trace, array, sizeof(array))); in TEST() 89 EXPECT_EQ(stack.trace, from_map.trace); in TEST()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/sh/ |
| H A D | sh_treg_combine.cc | 574 const cbranch_trace& trace) const; 579 const cbranch_trace& trace) const; 588 const cbranch_trace& trace) const; 602 bool try_invert_branch_condition (cbranch_trace& trace); 606 bool try_combine_comparisons (cbranch_trace& trace, 611 bool try_eliminate_cstores (cbranch_trace& trace, 780 const cbranch_trace& trace) const in can_remove_cstore() 856 if (!reg_dead_after_insn (cstore_dst, trace.setcc.insn)) in can_remove_cstore() 872 trace.setcc.insn); in can_remove_cstore() 996 const cbranch_trace& trace) const in can_extend_ccreg_usage() [all …]
|
| /netbsd-src/tests/bin/sh/ |
| H A D | t_option.sh | 587 rm -f X-trace 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 607 test -s X-trace || atf_fail "T2: Failed to create trace output file" 608 grep >/dev/null 2>&1 'printf.*%s.*OK' X-trace || 610 grep >/dev/null 2>&1 'exec' X-trace || 612 grep >/dev/null 2>&1 'echo.*OK' X-trace || 615 rm -f X-trace [all …]
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/trace/ |
| H A D | trace.c | 223 static slap_overinst trace; variable 228 trace.on_bi.bi_type = "trace"; in trace_initialize() 230 trace.on_bi.bi_flags = SLAPO_BFLAG_SINGLE; in trace_initialize() 231 trace.on_bi.bi_db_init = trace_db_init; in trace_initialize() 232 trace.on_bi.bi_db_open = trace_db_open; in trace_initialize() 233 trace.on_bi.bi_db_config = trace_db_config; in trace_initialize() 234 trace.on_bi.bi_db_close = trace_db_close; in trace_initialize() 235 trace.on_bi.bi_db_destroy = trace_db_destroy; in trace_initialize() 237 trace.on_bi.bi_op_add = trace_op_func; in trace_initialize() 238 trace.on_bi.bi_op_bind = trace_op_func; in trace_initialize() [all …]
|
| /netbsd-src/external/bsd/wpa/dist/src/utils/ |
| H A D | wpabuf.c | 33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); in wpabuf_overflow() local 34 if (trace->magic != WPABUF_MAGIC) { in wpabuf_overflow() 36 trace->magic); in wpabuf_overflow() 51 struct wpabuf_trace *trace; in wpabuf_resize() local 60 trace = wpabuf_get_trace(buf); in wpabuf_resize() 61 if (trace->magic != WPABUF_MAGIC) { in wpabuf_resize() 63 trace->magic); in wpabuf_resize() 79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) + in wpabuf_resize() 84 trace = (struct wpabuf_trace *) nbuf; in wpabuf_resize() 85 buf = (struct wpabuf *) (trace + 1); in wpabuf_resize() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
| H A D | 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); in init_rdauxr() 342 trace("auxch write failed with %d\n", ret); in init_wrauxr() 492 trace("\t[0x%02x] (R[0x%06x] & 0x%08x) == 0x%08x\n", in init_condition_met() 509 trace("\t[0x%02x] (0x%04x[0x%02x] & 0x%02x) == 0x%02x\n", in init_io_condition_met() 603 trace("RESERVED 0x%02x\t", opcode); in init_reserved() 617 trace("DONE\n"); in init_done() 637 trace("IO_RESTRICT_PROG\tR[0x%06x] = " in init_io_restrict_prog() 647 trace("\t0x%08x *\n", data); in init_io_restrict_prog() 650 trace("\t0x%08x\n", data); in init_io_restrict_prog() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/ |
| H A D | tpf.opt | 21 mtpf-trace 25 mtpf-trace-hook-prologue-check= 27 Set the trace check address for prologue tpf hook 29 mtpf-trace-hook-prologue-target= 31 Set the trace jump address for prologue tpf hook 33 mtpf-trace-hook-epilogue-check= 35 Set the trace check address for epilogue tpf hook 37 mtpf-trace-hook-epilogue-target= 39 Set the trace jump address for epilogue tpf hook 41 mtpf-trace-skip [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/ |
| H A D | tpf.opt | 21 mtpf-trace 25 mtpf-trace-hook-prologue-check= 27 Set the trace check address for prologue tpf hook 29 mtpf-trace-hook-prologue-target= 31 Set the trace jump address for prologue tpf hook 33 mtpf-trace-hook-epilogue-check= 35 Set the trace check address for epilogue tpf hook 37 mtpf-trace-hook-epilogue-target= 39 Set the trace jump address for epilogue tpf hook 41 mtpf-trace-skip [all …]
|
| /netbsd-src/external/cddl/dtracetoolkit/dist/ |
| H A D | dtruss | 70 command=""; opt_buf=0; buf="4m"; opt_trace=0; trace="."; opt_stack=0 79 t) opt_trace=1; trace=$OPTARG ;; 139 if [ "$trace" = "exec" ]; then trace="exece"; fi 140 if [ "$trace" = "time" ]; then trace="gtime"; fi 141 if [ "$trace" = "exit" ]; then trace="rexit"; fi 168 inline string TRACE = "'$trace'";
|
| /netbsd-src/external/cddl/dtracetoolkit/dist/Bin/ |
| H A D | dtruss | 70 command=""; opt_buf=0; buf="4m"; opt_trace=0; trace="."; opt_stack=0 79 t) opt_trace=1; trace=$OPTARG ;; 139 if [ "$trace" = "exec" ]; then trace="exece"; fi 140 if [ "$trace" = "time" ]; then trace="gtime"; fi 141 if [ "$trace" = "exit" ]; then trace="rexit"; fi 168 inline string TRACE = "'$trace'";
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ |
| H A D | OSSL_trace_enabled.pod | 17 #include <openssl/trace.h> 24 /* trace group macros */ 28 /* Leave trace group prematurely in case of an error */ 35 /* one-shot trace macros */ 41 /* check whether a trace category is enabled */ 63 I<trace channel> is attached to it. A trace channel is simply a 64 BIO object to which the application can write its trace output. 66 The application has two different ways of registering a trace channel, 71 We call them a I<simple trace channel> and a I<callback trace channel>, 74 To produce trace output, it is necessary to obtain a pointer to the [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/HistoricalNotes/ |
| H A D | 2003-06-25-Reoptimizer1.txt | 56 together to form our trace. But we do not allow more than 5 paths; if 60 exit edge from the hot trace is less than 10% of the number of 87 When we finally generate an optimized trace we first copy the code 88 into the trace cache. This leaves us with 3 copies of the code: the 89 original code, the instrumented code, and the optimized trace. The 90 optimized trace does not have instrumentation. The original code and 91 the instrumented code are modified to have a branch to the trace 97 trace cache. Then we instrument that code. The process is similar for 98 generating the final optimized trace; we copy the same basic blocks 105 original code, trace, and instrumented code. So we have to keep the [all …]
|
| /netbsd-src/usr.sbin/route6d/ |
| H A D | route6d.c | 258 static void trace(int, const char *, ...) __printflike(2, 3); 652 trace(2, " NextHop reset"); in ripflush() 654 trace(2, " NextHop %s", in ripflush() 658 trace(2, " %s/%d[%d]", in ripflush() 663 trace(2, " tag=0x%04x", in ripflush() 666 trace(2, "\n"); in ripflush() 953 trace(1, "sendmsg: %s\n", strerror(errno)); in sendpacket() 1016 trace(1, "Packet too short\n"); in riprecv() 1027 trace(1, "Incorrect RIP version %d\n", rp->rip6_vers); in riprecv() 1041 trace(1, "Packets from non-ll addr: %s\n", in riprecv() [all …]
|
| /netbsd-src/games/backgammon/backgammon/ |
| H A D | extra.c | 45 FILE *trace; variable 126 if (trace == NULL) in dblgood() 127 trace = fopen("bgtrace", "w"); in dblgood() 133 fputs("\nDoubles:\nBoard: ", trace); in dblgood() 135 fprintf(trace, " %d", board[i]); in dblgood() 136 fprintf(trace, "\n\tpip = %d, ", n); in dblgood() 171 fprintf(trace, "off = %d, ", n); in dblgood() 181 fprintf(trace, "free = %d\n", n); in dblgood() 182 fprintf(trace, "\tOFFC = %d, OFFO = %d\n", OFFC, OFFO); in dblgood() 183 fflush(trace); in dblgood()
|
| H A D | move.c | 47 FILE *trace; variable 386 if (trace == NULL) in pickmove() 387 trace = fopen("bgtrace", "w"); in pickmove() 388 fprintf(trace, "\nRoll: %d %d%s\n", D0, D1, race ? " (race)" : ""); in pickmove() 389 fflush(trace); in pickmove() 425 if (trace == NULL) in movcmp() 426 trace = fopen("bgtrace", "w"); in movcmp() 448 fputs("Board: ", trace); in movcmp() 450 fprintf(trace, " %d", board[i]); in movcmp() 452 fprintf(trace, "\n\tem = %d\n", em); in movcmp() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| H A D | tsan_debugging.cc | 50 static void CopyTrace(SymbolizedStack *first_frame, void **trace, in CopyTrace() argument 55 trace[i++] = (void *)frame->info.address; in CopyTrace() 93 int __tsan_get_report_stack(void *report, uptr idx, void **trace, in __tsan_get_report_stack() argument 98 if (stack) CopyTrace(stack->frames, trace, trace_size); in __tsan_get_report_stack() 104 int *size, int *write, int *atomic, void **trace, in __tsan_get_report_mop() argument 114 if (mop->stack) CopyTrace(mop->stack->frames, trace, trace_size); in __tsan_get_report_mop() 121 int *fd, int *suppressable, void **trace, in __tsan_get_report_loc() argument 133 if (loc->stack) CopyTrace(loc->stack->frames, trace, trace_size); in __tsan_get_report_loc() 149 int *destroyed, void **trace, uptr trace_size) { in __tsan_get_report_mutex() argument 156 if (mutex->stack) CopyTrace(mutex->stack->frames, trace, trace_size); in __tsan_get_report_mutex() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| H A D | tsan_debugging.cpp | 55 static void CopyTrace(SymbolizedStack *first_frame, void **trace, in CopyTrace() argument 60 trace[i++] = (void *)frame->info.address; in CopyTrace() 98 int __tsan_get_report_stack(void *report, uptr idx, void **trace, in __tsan_get_report_stack() argument 103 if (stack) CopyTrace(stack->frames, trace, trace_size); in __tsan_get_report_stack() 109 int *size, int *write, int *atomic, void **trace, in __tsan_get_report_mop() argument 119 if (mop->stack) CopyTrace(mop->stack->frames, trace, trace_size); in __tsan_get_report_mop() 126 int *fd, int *suppressable, void **trace, in __tsan_get_report_loc() argument 138 if (loc->stack) CopyTrace(loc->stack->frames, trace, trace_size); in __tsan_get_report_loc() 154 int *destroyed, void **trace, uptr trace_size) { in __tsan_get_report_mutex() argument 161 if (mutex->stack) CopyTrace(mutex->stack->frames, trace, trace_size); in __tsan_get_report_mutex() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| H A D | tsan_debugging.cc | 48 static void CopyTrace(SymbolizedStack *first_frame, void **trace, in CopyTrace() argument 53 trace[i++] = (void *)frame->info.address; in CopyTrace() 91 int __tsan_get_report_stack(void *report, uptr idx, void **trace, in __tsan_get_report_stack() argument 96 if (stack) CopyTrace(stack->frames, trace, trace_size); in __tsan_get_report_stack() 102 int *size, int *write, int *atomic, void **trace, in __tsan_get_report_mop() argument 112 if (mop->stack) CopyTrace(mop->stack->frames, trace, trace_size); in __tsan_get_report_mop() 119 int *fd, int *suppressable, void **trace, in __tsan_get_report_loc() argument 131 if (loc->stack) CopyTrace(loc->stack->frames, trace, trace_size); in __tsan_get_report_loc() 147 int *destroyed, void **trace, uptr trace_size) { in __tsan_get_report_mutex() argument 154 if (mutex->stack) CopyTrace(mutex->stack->frames, trace, trace_size); in __tsan_get_report_mutex() [all …]
|
| /netbsd-src/usr.sbin/timed/timed/ |
| H A D | readmsg.c | 89 if (trace) { in readmsg() 140 if (trace) { in readmsg() 152 if (trace) in readmsg() 185 if (trace) { in readmsg() 229 if (trace) { in readmsg() 264 if (trace) { in readmsg() 285 if (trace) { in readmsg() 309 if (trace) { in readmsg() 320 if (trace) in readmsg() 358 if (trace) { in slaveack() [all …]
|