diff options
-rw-r--r-- | trace2.c | 5 | ||||
-rw-r--r-- | trace2.h | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -792,3 +792,8 @@ void trace2_printf(const char *fmt, ...) va_end(ap); } #endif + +const char *trace2_session_id(void) +{ + return tr2_sid_get(); +} @@ -500,4 +500,6 @@ void trace2_collect_process_info(enum trace2_process_info_reason reason); } while (0) #endif +const char *trace2_session_id(void); + #endif /* TRACE2_H */ |