#include "git-compat-util.h"
#include "config.h"
#include "repository.h"
#include "run-command.h"
#include "strbuf.h"
#include "quote.h"
#include "version.h"
#include "trace2/tr2_dst.h"
#include "trace2/tr2_sysenv.h"
#include "trace2/tr2_tbuf.h"
#include "trace2/tr2_tgt.h"
#include "trace2/tr2_tls.h"
#include "trace2/tr2_tmr.h"
static struct tr2_dst tr2dst_normal = …;
static int tr2env_normal_be_brief;
#define TR2FMT_NORMAL_FL_WIDTH …
static int fn_init(void)
{ … }
static void fn_term(void)
{ … }
static void normal_fmt_prepare(const char *file, int line, struct strbuf *buf)
{ … }
static void normal_io_write_fl(const char *file, int line,
const struct strbuf *buf_payload)
{ … }
static void fn_version_fl(const char *file, int line)
{ … }
static void fn_start_fl(const char *file, int line,
uint64_t us_elapsed_absolute UNUSED, const char **argv)
{ … }
static void fn_exit_fl(const char *file, int line, uint64_t us_elapsed_absolute,
int code)
{ … }
static void fn_signal(uint64_t us_elapsed_absolute, int signo)
{ … }
static void fn_atexit(uint64_t us_elapsed_absolute, int code)
{ … }
static void maybe_append_string_va(struct strbuf *buf, const char *fmt,
va_list ap)
{ … }
static void fn_error_va_fl(const char *file, int line, const char *fmt,
va_list ap)
{ … }
static void fn_command_path_fl(const char *file, int line, const char *pathname)
{ … }
static void fn_command_ancestry_fl(const char *file, int line, const char **parent_names)
{ … }
static void fn_command_name_fl(const char *file, int line, const char *name,
const char *hierarchy)
{ … }
static void fn_command_mode_fl(const char *file, int line, const char *mode)
{ … }
static void fn_alias_fl(const char *file, int line, const char *alias,
const char **argv)
{ … }
static void fn_child_start_fl(const char *file, int line,
uint64_t us_elapsed_absolute UNUSED,
const struct child_process *cmd)
{ … }
static void fn_child_exit_fl(const char *file, int line,
uint64_t us_elapsed_absolute UNUSED,
int cid, int pid,
int code, uint64_t us_elapsed_child)
{ … }
static void fn_child_ready_fl(const char *file, int line,
uint64_t us_elapsed_absolute UNUSED,
int cid, int pid,
const char *ready, uint64_t us_elapsed_child)
{ … }
static void fn_exec_fl(const char *file, int line,
uint64_t us_elapsed_absolute UNUSED,
int exec_id, const char *exe, const char **argv)
{ … }
static void fn_exec_result_fl(const char *file, int line,
uint64_t us_elapsed_absolute UNUSED,
int exec_id, int code)
{ … }
static void fn_param_fl(const char *file, int line, const char *param,
const char *value, const struct key_value_info *kvi)
{ … }
static void fn_repo_fl(const char *file, int line,
const struct repository *repo)
{ … }
static void fn_printf_va_fl(const char *file, int line,
uint64_t us_elapsed_absolute UNUSED,
const char *fmt,
va_list ap)
{ … }
static void fn_timer(const struct tr2_timer_metadata *meta,
const struct tr2_timer *timer,
int is_final_data)
{ … }
static void fn_counter(const struct tr2_counter_metadata *meta,
const struct tr2_counter *counter,
int is_final_data)
{ … }
struct tr2_tgt tr2_tgt_normal = …;