projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Expose liblttng-libc-wrapper malloc ctor in public header
[lttng-ust.git]
/
snprintf
/
core.c
diff --git
a/snprintf/core.c
b/snprintf/core.c
index c4d9e0b13107b24967762d2b1b07d24ef40e6b6a..8c4eddeca1a208f90bc2be16cac9153e3adb82ea 100644
(file)
--- a/
snprintf/core.c
+++ b/
snprintf/core.c
@@
-6,22
+6,22
@@
#include <usterr-signal-safe.h>
#include <usterr-signal-safe.h>
-volatile enum ust_
loglevel ust
_loglevel;
+volatile enum ust_
err_loglevel ust_err
_loglevel;
-void
init_usterr
(void)
+void
ust_err_init
(void)
{
char *ust_debug;
{
char *ust_debug;
- if (ust_
loglevel == UST
_LOGLEVEL_UNKNOWN) {
+ if (ust_
err_loglevel == UST_ERR
_LOGLEVEL_UNKNOWN) {
/*
/*
- * This getenv is not part of lttng_getenv() because it
+ * This getenv is not part of lttng_
ust_
getenv() because it
* is required to print ERR() performed during getenv
* initialization.
*/
ust_debug = getenv("LTTNG_UST_DEBUG");
if (ust_debug)
* is required to print ERR() performed during getenv
* initialization.
*/
ust_debug = getenv("LTTNG_UST_DEBUG");
if (ust_debug)
- ust_
loglevel = UST
_LOGLEVEL_DEBUG;
+ ust_
err_loglevel = UST_ERR
_LOGLEVEL_DEBUG;
else
else
- ust_
loglevel = UST
_LOGLEVEL_NORMAL;
+ ust_
err_loglevel = UST_ERR
_LOGLEVEL_NORMAL;
}
}
}
}
This page took
0.024834 seconds
and
4
git commands to generate.