Lines Matching refs:trace

3581 ** the following constants.  ^The first argument to the trace callback
3586 ** ^A trace callback has four arguments: xCallback(T,C,P,X).
3635 ** ^The sqlite3_trace_v2(D,M,X,P) interface registers a trace callback
3650 ** ^A trace callback is invoked with four arguments: callback(T,C,P,X).
17066 } trace;
17067 void *pTraceArg; /* Argument to the trace function */
17222 #define SQLITE_VdbeTrace HI(0x0400000) /* True to trace VDBE execution */
28199 int trace; /* True to trace changes */
28438 if( p->trace ){
28439 printf("enter mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef);
28487 if( rc==SQLITE_OK && p->trace ){
28488 printf("enter mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef);
28517 if( p->trace ){
28518 printf("leave mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef);
28682 volatile LONG trace; /* True to trace changes */
28862 p->trace = 1;
28883 InterlockedCompareExchange(&p->trace, 1, 0);
28939 if( p->trace ){
28941 tid, p->id, p, p->trace, p->nRef));
28982 if( p->trace ){
28984 tid, p->id, p, p->trace, p->owner, p->nRef, sqlite3ErrName(rc)));
29011 if( p->trace ){
29013 tid, p->id, p, p->trace, p->nRef));
37573 ** Helper function for printing out trace information from debugging
52670 ** When sqlite3PcacheTrace is 1, single line trace messages are issued.
87938 db->trace.xV2(SQLITE_TRACE_PROFILE, db->pTraceArg, p, (void*)&iElapse);
90133 ** can be used to prevent unreasonably large trace strings when dealing
91983 db->trace.xV2(SQLITE_TRACE_ROW, db->pTraceArg, p, 0);
98924 ** Write P4 on the statement trace output if statement tracing is
98936 ** the UTF-8 string contained in P4 is emitted on the trace callback.
98976 db->trace.xLegacy(db->pTraceArg, z);
98982 (void)db->trace.xV2(SQLITE_TRACE_STMT, db->pTraceArg, p, z);
98985 (void)db->trace.xV2(SQLITE_TRACE_STMT, db->pTraceArg, p, zTrace);
99002 sqlite3DebugPrintf("SQL-trace: %s\n", zTrace);
132070 void * (*trace)(sqlite3*,void(*xTrace)(void*,const char*),void*);
132422 #define sqlite3_trace sqlite3_api->trace
149667 u8 saved_mTrace; /* Saved trace settings */
162764 ** to trace those changes if PRAGMA vdbe_addoptrace=on. This routine
167699 ** Turn parser tracing on by giving a stream to which to write the trace
167700 ** and a prompt to preface each trace message. Tracing is turned off
167705 ** <li> A FILE* to which trace output should be written.
167708 ** line of trace output. If NULL, then tracing is
174643 db->trace.xV2(SQLITE_TRACE_CLOSE, db->pTraceArg, db, 0);
175559 ** Register a trace function. The pArg from the previously registered trace
175562 ** A NULL trace function means that no tracing is executes. A non-NULL
175563 ** trace is a pointer to a function that is invoked at the start of each
175579 db->trace.xLegacy = xTrace;
175586 /* Register a trace callback using the version-2 interface.
175603 db->trace.xV2 = xTrace;
223168 ** Turn parser tracing on by giving a stream to which to write the trace
223169 ** and a prompt to preface each trace message. Tracing is turned off
223174 ** <li> A FILE* to which trace output should be written.
223177 ** line of trace output. If NULL, then tracing is
246113 int (*xTraceBackup)(u32,void*,void*,void*) = db->trace.xV2;
246118 db->trace.xV2 = 0;
246207 db->trace.xV2 = xTraceBackup;