Lines Matching refs:TRACE
3199 ** CAPI3REF: SQL Trace Event Codes
3205 ** the following constants. ^The first argument to the trace callback
3210 ** ^A trace callback has four arguments: xCallback(T,C,P,X).
3256 ** CAPI3REF: SQL Trace Hook
3259 ** ^The sqlite3_trace_v2(D,M,X,P) interface registers a trace callback
3274 ** ^A trace callback is invoked with four arguments: callback(T,C,P,X).
14193 int (*xTrace)(u32,void*,void*,void*); /* Trace function */
14194 void *pTraceArg; /* Argument to the trace function */
14286 #define SQLITE_VdbeTrace 0x00000001 /* True to trace VDBE execution */
14301 #define SQLITE_VdbeAddopTrace 0x00001000 /* Trace sqlite3VdbeAddOp() calls */
23241 int trace; /* True to trace changes */
23473 if( p->trace ){
23474 printf("enter mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef);
23522 if( rc==SQLITE_OK && p->trace ){
23523 printf("enter mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef);
23552 if( p->trace ){
23553 printf("leave mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef);
23915 volatile int trace; /* True to trace changes */
24095 p->trace = 1;
24117 p->trace = 1;
24172 if( p->trace ){
24174 tid, p->id, p, p->trace, p->nRef));
24215 if( p->trace ){
24217 tid, p->id, p, p->trace, p->owner, p->nRef, sqlite3ErrName(rc)));
24244 if( p->trace ){
24246 tid, p->id, p, p->trace, p->nRef));
30653 ** Helper function for printing out trace information from debugging
44294 ** When sqlite3PcacheTrace is 1, single line trace messages are issued.
54894 ** Trace output macros
59229 ** Set this global variable to 1 to enable tracing using the TRACE
59234 # define TRACE(X) if(sqlite3BtreeTrace){printf X;fflush(stdout);}
59236 # define TRACE(X)
60161 TRACE(("PTRMAP_UPDATE: %d->(%d,%d)\n", key, eType, parent));
62684 TRACE(("AUTOVACUUM: Moving %d to free page %d (ptr page %d type %d)\n",
64951 TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1));
65017 TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1));
65062 TRACE(("ALLOCATE: %d was leaf %d of %d on trunk %d"
65119 TRACE(("ALLOCATE: %d from end of file (pointer-map page)\n", pBt->nPage));
65142 TRACE(("ALLOCATE: %d from end of file\n", *pPgno));
65264 TRACE(("FREE-PAGE: %d leaf on trunk page %d\n",pPage->pgno,pTrunk->pgno));
65285 TRACE(("FREE-PAGE: %d new trunk page replacing %d\n", pPage->pgno, iTrunk));
66340 TRACE(("BALANCE: begin page %d child of %d\n", pPage->pgno, pParent->pgno));
66687 TRACE(("BALANCE: old: %d(nc=%d) %d(nc=%d) %d(nc=%d)\n",
66769 TRACE(("BALANCE: new: %d(%d nc=%d) %d(%d nc=%d) %d(%d nc=%d) "
67004 TRACE(("BALANCE: finished: old=%d new=%d cells=%d\n",
67089 TRACE(("BALANCE: copy root %d into %d\n", pRoot->pgno, pChild->pgno));
67358 TRACE(("INSERT: table=%d nkey=%lld ndata=%d page=%d %s\n",
78232 ** can be used to prevent unreasonably large trace strings when dealing
79093 if( p->db->flags & SQLITE_VdbeTrace ) printf("VDBE Trace:\n");
85458 ** the UTF-8 string contained in P4 is emitted on the trace callback.
85517 sqlite3DebugPrintf("SQL-trace: %s\n", zTrace);
111595 void * (*trace)(sqlite3*,void(*xTrace)(void*,const char*),void*);
111870 #define sqlite3_trace sqlite3_api->trace
116725 ** Trace output macros
124897 u8 saved_mTrace; /* Saved trace settings */
126415 ** Trace output macros
136566 ** Turn parser tracing on by giving a stream to which to write the trace
136567 ** and a prompt to preface each trace message. Tracing is turned off
136572 ** <li> A FILE* to which trace output should be written.
136575 ** line of trace output. If NULL, then tracing is
142434 ** Register a trace function. The pArg from the previously registered trace
142437 ** A NULL trace function means that no tracing is executes. A non-NULL
142438 ** trace is a pointer to a function that is invoked at the start of each
142461 /* Register a trace callback using the version-2 interface.
142464 sqlite3 *db, /* Trace this connection */
183734 ** Turn parser tracing on by giving a stream to which to write the trace
183735 trace message. Tracing is turned off
183740 ** <li> A FILE* to which trace output should be written.
183743 ** line of trace output. If NULL, then tracing is