projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: compile liblttng-ctl as C++
[lttng-tools.git]
/
src
/
common
/
error.c
diff --git
a/src/common/error.c
b/src/common/error.c
index 1e3bd2d9b5137b5ea2f82391b1d5b79b70001694..b888c2643f6e1a66ccaaedef601cae8e49cc516f 100644
(file)
--- a/
src/common/error.c
+++ b/
src/common/error.c
@@
-31,7
+31,6
@@
static int lttng_opt_abort_on_error = -1;
DEFINE_URCU_TLS(struct log_time, error_log_time);
DEFINE_URCU_TLS(const char *, logger_thread_name);
DEFINE_URCU_TLS(struct log_time, error_log_time);
DEFINE_URCU_TLS(const char *, logger_thread_name);
-LTTNG_HIDDEN
const char *log_add_time(void)
{
int ret;
const char *log_add_time(void)
{
int ret;
@@
-68,7
+67,6
@@
error:
return "";
}
return "";
}
-LTTNG_HIDDEN
void logger_set_thread_name(const char *name, bool set_pthread_name)
{
int ret;
void logger_set_thread_name(const char *name, bool set_pthread_name)
{
int ret;
@@
-255,7
+253,6
@@
static const char *error_string_array[] = {
*
* These code MUST be negative in other to treat that as an error value.
*/
*
* These code MUST be negative in other to treat that as an error value.
*/
-LTTNG_HIDDEN
const char *error_get_str(int32_t code)
{
code = -code;
const char *error_get_str(int32_t code)
{
code = -code;
@@
-267,7
+264,6
@@
const char *error_get_str(int32_t code)
return error_string_array[ERROR_INDEX(code)];
}
return error_string_array[ERROR_INDEX(code)];
}
-LTTNG_HIDDEN
void lttng_abort_on_error(void)
{
if (lttng_opt_abort_on_error < 0) {
void lttng_abort_on_error(void)
{
if (lttng_opt_abort_on_error < 0) {
This page took
0.025447 seconds
and
4
git commands to generate.