Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
697100a4
Commit
697100a4
authored
May 27, 2022
by
Vaibhav Shrivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SIDL Updated 88
parent
a813b773
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
openair3/SS/Sidl/lib/acp/src/acp.c
openair3/SS/Sidl/lib/acp/src/acp.c
+1
-1
openair3/SS/Sidl/lib/adbg/api/adbg.h
openair3/SS/Sidl/lib/adbg/api/adbg.h
+8
-8
No files found.
openair3/SS/Sidl/lib/acp/src/acp.c
View file @
697100a4
...
...
@@ -534,7 +534,7 @@ int acpRecvMsg(acpCtx_t ctx, size_t* size, unsigned char* buffer)
ACP_DEBUG_CLOG
(
ctx
,
"Peer disconnected"
);
}
ACP_DEBUG_EXIT_TRACE_CLOG
(
ctx
,
NULL
);
return
0
;
return
-
ACP_ERR_SOCKCONN_ABORTED
;
}
if
(
sz
<
0
)
{
ACP_DEBUG_EXIT_TRACE_CLOG
(
ctx
,
"ACP_ERR_SOCK_ERROR"
);
...
...
openair3/SS/Sidl/lib/adbg/api/adbg.h
View file @
697100a4
...
...
@@ -38,20 +38,20 @@ SIDL_BEGIN_C_INTERFACE
// clang-format off
#ifdef ACP_DEBUG
#define ACP_DEBUG_PREFIX_CLOG(ctx, fmt, args...) do { adbgPrintLog(ctx, "=== ACP_DEBUG: [%s
] " fmt ": ", __FUNCTION
__, ##args); } while (false)
#define ACP_DEBUG_CLOG(ctx, fmt, args...) do { adbgPrintLog(ctx, "=== ACP_DEBUG: [%s
] " fmt, __FUNCTION
__, ##args); adbgPrintLog(ctx, NULL); } while (false)
#define ACP_DEBUG_ENTER_CLOG(ctx) do { adbgPrintLog(ctx, ">>> ACP_DEBUG: Entering %s at
%s:%d
", __FUNCTION__, __FILE__, __LINE__); adbgPrintLog(ctx, NULL); } while (false)
#define ACP_DEBUG_PREFIX_CLOG(ctx, fmt, args...) do { adbgPrintLog(ctx, "=== ACP_DEBUG: [%s
:%d] " fmt ": ", __FILE__, __LINE
__, ##args); } while (false)
#define ACP_DEBUG_CLOG(ctx, fmt, args...) do { adbgPrintLog(ctx, "=== ACP_DEBUG: [%s
:%d] " fmt, __FILE__, __LINE
__, ##args); adbgPrintLog(ctx, NULL); } while (false)
#define ACP_DEBUG_ENTER_CLOG(ctx) do { adbgPrintLog(ctx, ">>> ACP_DEBUG: Entering %s at
[%s:%d]
", __FUNCTION__, __FILE__, __LINE__); adbgPrintLog(ctx, NULL); } while (false)
#define ACP_DEBUG_EXIT_CLOG(ctx, val) do { \
if (val != NULL) adbgPrintLog(ctx, "<<< ACP_DEBUG: Exiting %s at
%s:%d
with return code '%s'", __FUNCTION__, __FILE__, __LINE__, val); \
if (val != NULL) adbgPrintLog(ctx, "<<< ACP_DEBUG: Exiting %s at
[%s:%d]
with return code '%s'", __FUNCTION__, __FILE__, __LINE__, val); \
else adbgPrintLog(ctx, "<<< ACP_DEBUG: Exiting %s at %s:%d", __FUNCTION__, __FILE__, __LINE__); \
adbgPrintLog(ctx, NULL); \
} while (false)
#define ACP_DEBUG_LOG(fmt, args...) do { adbgCheckAndSetGlobalLogger(); adbgGlobalLogger("=== ACP_DEBUG: [%s
] " fmt, __FUNCTION
__, ##args); } while (false)
#define ACP_DEBUG_ENTER_LOG() do { adbgCheckAndSetGlobalLogger(); adbgGlobalLogger(">>> ACP_DEBUG: Entering %s at
%s:%d
", __FUNCTION__, __FILE__, __LINE__); } while (false)
#define ACP_DEBUG_LOG(fmt, args...) do { adbgCheckAndSetGlobalLogger(); adbgGlobalLogger("=== ACP_DEBUG: [%s
:%d] " fmt, __FILE__, __LINE
__, ##args); } while (false)
#define ACP_DEBUG_ENTER_LOG() do { adbgCheckAndSetGlobalLogger(); adbgGlobalLogger(">>> ACP_DEBUG: Entering %s at
[%s:%d]
", __FUNCTION__, __FILE__, __LINE__); } while (false)
#define ACP_DEBUG_EXIT_LOG(val) do { \
adbgCheckAndSetGlobalLogger(); \
if (val != NULL) adbgGlobalLogger("<<< ACP_DEBUG: Exiting %s at
%s:%d
with return code '%s'", __FUNCTION__, __FILE__, __LINE__, val); \
else adbgGlobalLogger("<<< ACP_DEBUG: Exiting %s at
%s:%d
", __FUNCTION__, __FILE__, __LINE__); \
if (val != NULL) adbgGlobalLogger("<<< ACP_DEBUG: Exiting %s at
[%s:%d]
with return code '%s'", __FUNCTION__, __FILE__, __LINE__, val); \
else adbgGlobalLogger("<<< ACP_DEBUG: Exiting %s at
[%s:%d]
", __FUNCTION__, __FILE__, __LINE__); \
} while (false)
#ifdef ACP_DEBUG_TRACE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment