projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Require C++11 for building probe providers with C++ compiler
[lttng-ust.git]
/
include
/
usterr-signal-safe.h
diff --git
a/include/usterr-signal-safe.h
b/include/usterr-signal-safe.h
index 1df5ada0ff2ec290d4eb5f53a15836a5bb7cb454..c75516be4351a536dda0a09fe7ca894cf6166154 100644
(file)
--- a/
include/usterr-signal-safe.h
+++ b/
include/usterr-signal-safe.h
@@
-67,11
+67,6
@@
static inline int ust_debug(void)
extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...)
__attribute__ ((format (printf, 3, 4)));
extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...)
__attribute__ ((format (printf, 3, 4)));
-static inline void __attribute__ ((format (printf, 1, 2)))
- __check_ust_safe_fmt(const char *fmt, ...)
-{
-}
-
/* Can't use dynamic allocation. Limit ourselves to USTERR_MAX_LEN chars. */
/* Add end of string in case of buffer overflow. */
#define sigsafe_print_err(fmt, args...) \
/* Can't use dynamic allocation. Limit ourselves to USTERR_MAX_LEN chars. */
/* Add end of string in case of buffer overflow. */
#define sigsafe_print_err(fmt, args...) \
@@
-95,7
+90,7
@@
do { \
do { \
sigsafe_print_err(UST_STR_COMPONENT "[%ld/%ld]: " fmt " (in %s() at " __FILE__ ":" UST_XSTR(__LINE__) ")\n", \
(long) getpid(), \
do { \
sigsafe_print_err(UST_STR_COMPONENT "[%ld/%ld]: " fmt " (in %s() at " __FILE__ ":" UST_XSTR(__LINE__) ")\n", \
(long) getpid(), \
- (long)
gettid(),
\
+ (long)
lttng_gettid(),
\
## args, __func__); \
} while(0)
## args, __func__); \
} while(0)
This page took
0.02992 seconds
and
4
git commands to generate.