File trace_event_log.c¶
FileList > base > trace_event_log.c
Go to the source code of this file
#include "event_log.h"#include "trace_log.h"#include "config.h"#include "critical_section.h"#include "dbtype.h"#include "error_manager.h"#include "environment_variable.h"#include "log_impl.h"#include "query_executor.h"#include "object_primitive.h"#include "porting.h"#include "system_parameter.h"#include "xasl_cache.h"#include <assert.h>#include <stdio.h>#include <sys/time.h>#include "memory_wrapper.hpp"
Public Static Attributes¶
| Type | Name |
|---|---|
| FILE * | event_Fp = [**NULL**](freelistheap_8h.md#define-null) |
| char | event_log_file_path |
| FILE * | trace_Fp = [**NULL**](freelistheap_8h.md#define-null) |
| char | trace_log_file_path |
Public Functions¶
Public Static Functions¶
| Type | Name |
|---|---|
| void | event_log_print_client_ids_info (CLIENTIDS * client_info, int indent) |
| FILE * | trace_event_file_backup (FILE * fp, const char * path) |
| FILE * | trace_event_file_open (const char * path, char log_type) |
| void | trace_event_log_bind_values (THREAD_ENTRY * thread_p, FILE * log_fp, int tran_index, int bind_index) |
| FILE * | trace_event_log_init (const char * db_name, char * log_file_path, char log_type) |
| void | trace_event_log_print_client_info (int tran_index, int indent, FILE * log_fp) |
| FILE * | trace_event_log_start (THREAD_ENTRY * thread_p, const char * log_name, const char log_type) |
| void | trace_event_print_client_ids_info (CLIENTIDS * client_info, int indent) |
Macros¶
| Type | Name |
|---|---|
| define | EVENT_LOG_FILE_PREFIX "\_" |
| define | EVENT_LOG_FILE_SUFFIX ".event" |
| define | LATEST_SQL_TRACE_FILE "\_sql\_trace.log" |
| define | LOG_FILE_DIR "server" |
| define | TRACE_LOG_FILE_PREFIX "\_sql\_trace\_" |
| define | TRACE_LOG_FILE_SUFFIX ".log" |
Public Static Attributes Documentation¶
variable event_Fp¶
variable event_log_file_path¶
variable trace_Fp¶
variable trace_log_file_path¶
Public Functions Documentation¶
function event_log_bind_values¶
void event_log_bind_values (
THREAD_ENTRY * thread_p,
FILE * log_fp,
int tran_index,
int bind_index
)
function event_log_end¶
function event_log_final¶
function event_log_init¶
function event_log_log_flush_thr_wait¶
void event_log_log_flush_thr_wait (
THREAD_ENTRY * thread_p,
int flush_count,
clientids * client_info,
int flush_time,
int flush_wait_time,
int writer_time
)
function event_log_print_client_info¶
function event_log_sql_string¶
function event_log_sql_without_user_oid¶
void event_log_sql_without_user_oid (
FILE * fp,
const char * format,
int indent,
const char * hash_text
)
function event_log_start¶
function trace_log_bind_values¶
void trace_log_bind_values (
THREAD_ENTRY * thread_p,
FILE * log_fp,
int tran_index,
int bind_index
)
function trace_log_end¶
function trace_log_final¶
function trace_log_init¶
function trace_log_print_client_info¶
function trace_log_start¶
Public Static Functions Documentation¶
function event_log_print_client_ids_info¶
function trace_event_file_backup¶
function trace_event_file_open¶
function trace_event_log_bind_values¶
static void trace_event_log_bind_values (
THREAD_ENTRY * thread_p,
FILE * log_fp,
int tran_index,
int bind_index
)
function trace_event_log_init¶
function trace_event_log_print_client_info¶
function trace_event_log_start¶
static FILE * trace_event_log_start (
THREAD_ENTRY * thread_p,
const char * log_name,
const char log_type
)
function trace_event_print_client_ids_info¶
Macro Definition Documentation¶
define EVENT_LOG_FILE_PREFIX¶
define EVENT_LOG_FILE_SUFFIX¶
define LATEST_SQL_TRACE_FILE¶
define LOG_FILE_DIR¶
define TRACE_LOG_FILE_PREFIX¶
define TRACE_LOG_FILE_SUFFIX¶
The documentation for this class was generated from the following file cubrid/src/base/trace_event_log.c