Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions tracetools/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,9 @@ EXCLUDE_SYMBOLS = \
"_GET_MACRO_DO_TRACEPOINT" \
"_GET_MACRO_DECLARE_TRACEPOINT" \
"_DECLARE_TRACEPOINT" \
"TRACEPOINT" \
"TRACEPOINT_ENABLED" \
"DO_TRACEPOINT" \
"_deprecated_macro_TRACEPOINT" \
"_deprecated_macro_TRACEPOINT_ENABLED" \
"_deprecated_macro_DO_TRACEPOINT" \
"TRACETOOLS_TRACEPOINT" \
"TRACETOOLS_TRACEPOINT_ENABLED" \
"TRACETOOLS_DO_TRACEPOINT" \
"tracetools::detail*"

# Tag files that do not exist will produce a warning and cross-project linking will not work.
Expand Down
30 changes: 0 additions & 30 deletions tracetools/include/tracetools/tracetools.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,36 +123,6 @@
# define TRACETOOLS_DO_TRACEPOINT(...) ((void) (0))
# define _DECLARE_TRACEPOINT(...)
#endif // TRACETOOLS_DISABLED

// TODO(christophebedard) remove in Rolling after J-turtle release
#ifndef DOXYGEN_ONLY
# ifndef _WIN32
# define _DEPRECATED_WITH_MSG(msg) __attribute__((deprecated(msg)))
# else
# define _DEPRECATED_WITH_MSG(msg) __declspec(deprecated(msg))
# endif
#else
# define _DEPRECATED_WITH_MSG(msg)
#endif
#define _DEPRECATED_MACRO_FUNCTION_DEFINITION(macro_name) \
static inline void \
_DEPRECATED_WITH_MSG("use TRACETOOLS_" #macro_name "() instead") \
_deprecated_macro_ ## macro_name(void) \
{ \
}

_DEPRECATED_MACRO_FUNCTION_DEFINITION(TRACEPOINT)
#define TRACEPOINT(...) \
_deprecated_macro_TRACEPOINT(); \
TRACETOOLS_TRACEPOINT(__VA_ARGS__)
_DEPRECATED_MACRO_FUNCTION_DEFINITION(TRACEPOINT_ENABLED)
#define TRACEPOINT_ENABLED(...) \
_deprecated_macro_TRACEPOINT_ENABLED(); \
TRACETOOLS_TRACEPOINT_ENABLED(__VA_ARGS__)
_DEPRECATED_MACRO_FUNCTION_DEFINITION(DO_TRACEPOINT)
#define DO_TRACEPOINT(...) \
_deprecated_macro_DO_TRACEPOINT(); \
TRACETOOLS_DO_TRACEPOINT(__VA_ARGS__)
// *INDENT-ON*

#ifdef __cplusplus
Expand Down