projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide private usterr-signal-safe.h symbols
[lttng-ust.git]
/
snprintf
/
core.c
diff --git
a/snprintf/core.c
b/snprintf/core.c
index c4d9e0b13107b24967762d2b1b07d24ef40e6b6a..d0f60a106e6f5d389b8c8a5a93c8a584ce669c79 100644
(file)
--- a/
snprintf/core.c
+++ b/
snprintf/core.c
@@
-6,13
+6,13
@@
#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
* is required to print ERR() performed during getenv
/*
* This getenv is not part of lttng_getenv() because it
* is required to print ERR() performed during getenv
@@
-20,8
+20,8
@@
void init_usterr(void)
*/
ust_debug = getenv("LTTNG_UST_DEBUG");
if (ust_debug)
*/
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.023223 seconds
and
4
git commands to generate.