Add process name to trace.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4160 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-02-01 23:20:16 +00:00
parent a8cecb5c64
commit e0dcec074c
3 changed files with 16 additions and 0 deletions

View File

@ -9,6 +9,8 @@ typedef struct sqlite3 sqlite3;
tf_trace_t* tf_trace_create();
void tf_trace_destroy(tf_trace_t* trace);
void tf_trace_set_process_name(tf_trace_t* trace, const char* name);
void tf_trace_counter(tf_trace_t* trace, const char* name, int argc, const char** arg_names, const int64_t* arg_values);
void tf_trace_begin(tf_trace_t* trace, const char* name);
void tf_trace_end(tf_trace_t* trace);