Skip to content

Commit

Permalink
update header file
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Wang <[email protected]>
  • Loading branch information
wangvsa committed Jun 11, 2024
1 parent 360fd1a commit 713df2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/recorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
#define RECORDER_INTRAPROCESS_PATTERN_RECOGNITION "RECORDER_INTRAPROCESS_PATTERN_RECOGNITION"
#define RECORDER_EXCLUSION_FILE "RECORDER_EXCLUSION_FILE"
#define RECORDER_INCLUSION_FILE "RECORDER_INCLUSION_FILE"
#define RECORDER_DEBUG_LEVEL "RECORDER_DEBUG_LEVEL"

/*
/*
* Allowing users to exclude the interception
* of certain layers at runtime.
*
Expand Down Expand Up @@ -71,6 +72,7 @@

// C wrappers call this
#define RECORDER_INTERCEPTOR_PROLOGUE(ret, func, real_args) \
/*RECORDER_LOGINFO("[Recorder] intercept %s\n", #func);*/ \
if(!logger_initialized()) { \
GOTCHA_SET_REAL_CALL_NOCHECK(func); \
ret res = GOTCHA_REAL_CALL(func) real_args ; \
Expand Down

0 comments on commit 713df2b

Please sign in to comment.