/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
|
/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/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/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...] |
/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/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/drm/dist/shared-core/ |
sis_ds.h | 49 int trace; member in struct:__anon3b533f410208
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/modules/hdcp/ |
amdgpu_hdcp.c | 36 struct mod_hdcp_trace *trace = &hdcp->connection.trace; local in function:push_error_status 38 if (trace->error_count < MAX_NUM_OF_ERROR_TRACE) { 39 trace->errors[trace->error_count].status = status; 40 trace->errors[trace->error_count].state_id = hdcp->state.id; 41 trace->error_count++; 352 /* reset error trace */ 353 memset(&hdcp->connection.trace, 0, sizeof(hdcp->connection.trace)) [all...] |
/src/usr.bin/m4/ |
trace.c | 1 /* $NetBSD: trace.c,v 1.9 2020/06/25 02:25:53 uwe Exp $ */ 2 /* $OpenBSD: trace.c,v 1.15 2006/03/24 08:03:44 espie Exp $ */ 31 __RCSID("$NetBSD: trace.c,v 1.9 2020/06/25 02:25:53 uwe Exp $"); 165 trace(const char *argv[], int argc, struct input_file *inp) function in typeref:typename:size_t
|
/src/usr.sbin/timed/timedc/ |
timedc.c | 58 int trace = 0; variable in typeref:typename:int
|
/src/games/backgammon/common_source/ |
subs.c | 122 static FILE *trace; local in function:writel 125 if (trace == NULL) 126 trace = fopen("bgtrace", "w"); 128 fprintf(trace, "writel: \""); 131 fprintf(trace, "^%c", (*s) ^ 0100); 133 putc(*s, trace); 135 fprintf(trace, "\"\n"); 136 fflush(trace);
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_rtl_mutex.cc | 58 VarSizeStackTrace trace; local in function:__tsan::ReportMutexMisuse 59 ObtainCurrentStack(thr, pc, &trace); 60 rep.AddStack(trace, true); 115 VarSizeStackTrace trace; local in function:__tsan::MutexDestroy 116 ObtainCurrentStack(thr, pc, &trace); 117 rep.AddStack(trace, true); 119 RestoreStack(last.tid(), last.epoch(), &trace, 0); 120 rep.AddStack(trace, true); 439 // Can't increment epoch w/o writing to the trace as well. 451 // Can't increment epoch w/o writing to the trace as well [all...] |
tsan_rtl.cc | 71 // Map thread trace when context is created. 73 internal_snprintf(name, sizeof(name), "trace %u", tid); 76 internal_snprintf(name, sizeof(name), "trace header %u", tid); 77 MapThreadTrace(hdr, sizeof(Trace), name); 78 new((void*)hdr) Trace(); 79 // We are going to use only a small part of the trace with the default 80 // value of history_size. However, the constructor writes to the whole trace. 82 uptr hdr_end = hdr + sizeof(Trace); 85 if (hdr_end < hdr + sizeof(Trace)) 86 UnmapOrDie((void*)hdr_end, hdr + sizeof(Trace) - hdr_end) 562 unsigned trace = (thr->fast_state.epoch() \/ kTracePartSize) % TraceParts(); local in function:__tsan::TraceSwitch [all...] |
tsan_rtl_report.cc | 33 static ReportStack *SymbolizeStack(StackTrace trace); 112 if (stack.trace == nullptr) 117 static ReportStack *SymbolizeStack(StackTrace trace) { 118 if (trace.size == 0) 121 for (uptr si = 0; si < trace.size; si++) { 122 const uptr pc = trace.trace[si]; 381 // This function restores stack trace and mutex set for the thread/epoch. 382 // It does so by getting stack trace and mutex set at the beginning of 383 // trace part, and then replaying the trace till the given epoch 384 Trace* trace = ThreadTrace(tid); local in function:__tsan::RestoreStack 718 VarSizeStackTrace trace; local in function:__tsan::PrintCurrentStack [all...] |
tsan_rtl.h | 168 // When hs == 0, the trace consists of 2 parts. 399 // C/C++ uses fixed size shadow stack embed into Trace. 634 uptr possible_tag_pc = stack->trace[stack->size - 2]; 690 bool IsFiredSuppression(Context *ctx, ReportType type, StackTrace trace); 840 Trace *ThreadTrace(int tid); 859 Event *trace = (Event*)GetThreadTrace(fs.tid()); local in function:__tsan::TraceAddEvent 860 Event *evp = &trace[pos];
|
/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/ |
timed.c | 64 int trace = 0; variable in typeref:typename:int 76 FILE *fd; /* trace file FD */ 159 trace = 1; 342 if (trace) 428 if (trace) 434 if (trace) 551 if (trace) 566 if (trace) { 591 if (trace) 749 if (trace) [all...] |
/src/bin/sh/ |
show.c | 75 #define TR_IOVECS 10 /* number of lines or trace (max) / write */ 78 int tfd; /* file descriptor for open trace file */ 143 if (asprintf(&s, "trace.%jd", (intmax_t)pid) <= 0) { 205 trace(const char *fmt, ...) function in typeref:typename:void 271 trace("%p", n); 1084 { '@', DBG_LINE }, /* prefix trace lines with line# */ 1085 { '$', DBG_PID }, /* prefix trace lines with sh pid */
|
/src/sbin/routed/rtquery/ |
rtquery.c | 118 int trace, not_trace; /* send trace command or not */ variable in typeref:typename:int 199 trace = 1; 281 if (not_trace && trace) 305 if (trace)
|
/src/usr.bin/tftp/ |
main.c | 77 int trace; variable in typeref:typename:int 162 { "trace", thelp, settrace }, 622 verbose ? "on" : "off", trace ? "on" : "off"); 782 trace = !trace; 783 (void)printf("Packet tracing %s.\n", trace ? "on" : "off");
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/modules/inc/ |
mod_hdcp.h | 247 const struct mod_hdcp_trace *trace; member in struct:mod_hdcp_display_query
|
/src/sys/ddb/ |
db_command.c | 354 "Show backtrace.", "See help trace.",NULL) }, 420 { DDB_ADD_CMD("trace", db_stack_trace_cmd, 0, 421 "Stack trace from frame-address.", 1380 bool trace = false; local in function:db_show_all_tstiles 1383 trace = true; 1438 if (trace && owner != NULL) {
|
/src/usr.bin/ftp/ |
ftp_var.h | 211 GLOBAL int trace; /* trace packets exchanged */ variable in typeref:typename:GLOBAL int
|