Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
d4497c6b
Commit
d4497c6b
authored
Aug 22, 2011
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trace.h: added support for run-time enabling/disabling of debug messages
parent
cbda18ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
trace.h
include/trace.h
+3
-1
No files found.
include/trace.h
View file @
d4497c6b
#ifndef __FREESTANDING_TRACE_H__
#define __FREESTANDING_TRACE_H__
extern
int
wrc_extra_debug
;
#define TRACE_WRAP(...)
#define TRACE_DEV(...)
mprintf(
__VA_ARGS__)
#define TRACE_DEV(...)
if(wrc_extra_debug) wrc_debug_printf(0,
__VA_ARGS__)
#endif
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