26 #if !defined(JULEA_H) && !defined(JULEA_COMPILATION)
27 #error "Only <julea.h> can be included directly."
111 #define J_TRACE(name, ...) g_autoptr(JTrace) G_PASTE(j_trace, __COUNTER__) G_GNUC_UNUSED = j_trace_enter(name, __VA_ARGS__)
112 #define J_TRACE_FUNCTION(...) g_autoptr(JTrace) G_PASTE(j_trace_function, __COUNTER__) G_GNUC_UNUSED = j_trace_enter(G_STRFUNC, __VA_ARGS__)
114 #define J_TRACE(name, ...) g_autoptr(JTrace) G_PASTE(j_trace, __LINE__) G_GNUC_UNUSED = j_trace_enter(name, __VA_ARGS__)
115 #define J_TRACE_FUNCTION(...) g_autoptr(JTrace) G_PASTE(j_trace_function, __LINE__) G_GNUC_UNUSED = j_trace_enter(G_STRFUNC, __VA_ARGS__)
119 #define J_TRACE(name, ...) g_autoptr(JTrace) G_PASTE(j_trace, __COUNTER__) G_GNUC_UNUSED = NULL
120 #define J_TRACE_FUNCTION(...) g_autoptr(JTrace) G_PASTE(j_trace_function, __COUNTER__) G_GNUC_UNUSED = NULL
122 #define J_TRACE(name, ...) g_autoptr(JTrace) G_PASTE(j_trace, __LINE__) G_GNUC_UNUSED = NULL
123 #define J_TRACE_FUNCTION(...) g_autoptr(JTrace) G_PASTE(j_trace_function, __LINE__) G_GNUC_UNUSED = NULL
JTrace * j_trace_enter(gchar const *name, gchar const *format,...) G_GNUC_PRINTF(2
Definition: jtrace.c:503
void j_trace_file_begin(gchar const *path, JTraceFileOperation op)
Definition: jtrace.c:710
void j_trace_counter(gchar const *name, guint64 counter_value)
Definition: jtrace.c:847
JTrace void j_trace_leave(JTrace *trace)
Definition: jtrace.c:607
JTraceFileOperation
Definition: jtrace.h:44
void j_trace_init(gchar const *name)
Definition: jtrace.c:356
void j_trace_file_end(gchar const *path, JTraceFileOperation op, guint64 length, guint64 offset)
Definition: jtrace.c:763
void j_trace_fini(void)
Definition: jtrace.c:441
@ J_TRACE_FILE_STATUS
Definition: jtrace.h:51
@ J_TRACE_FILE_SEEK
Definition: jtrace.h:50
@ J_TRACE_FILE_CREATE
Definition: jtrace.h:46
@ J_TRACE_FILE_DELETE
Definition: jtrace.h:47
@ J_TRACE_FILE_WRITE
Definition: jtrace.h:53
@ J_TRACE_FILE_SYNC
Definition: jtrace.h:52
@ J_TRACE_FILE_READ
Definition: jtrace.h:49
@ J_TRACE_FILE_OPEN
Definition: jtrace.h:48
@ J_TRACE_FILE_CLOSE
Definition: jtrace.h:45
gchar * name
Definition: jtrace.c:105