projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Standardize log levels used by logging statements across the project
[babeltrace.git]
/
src
/
lib
/
trace-ir
/
trace.c
diff --git
a/src/lib/trace-ir/trace.c
b/src/lib/trace-ir/trace.c
index 6dadb10d4aed37b053a4b3b00b7a92b78ce2b29e..0776a7b2d874180046b3ac4c60a99df1eee56342 100644
(file)
--- a/
src/lib/trace-ir/trace.c
+++ b/
src/lib/trace-ir/trace.c
@@
-77,7
+77,7
@@
void destroy_trace(struct bt_object *obj)
*/
if (trace->destruction_listeners) {
uint64_t i;
*/
if (trace->destruction_listeners) {
uint64_t i;
- BT_LIB_LOG
V
("Calling trace destruction listener(s): %!+t", trace);
+ BT_LIB_LOG
D
("Calling trace destruction listener(s): %!+t", trace);
/*
* The trace's reference count is 0 if we're here. Increment
/*
* The trace's reference count is 0 if we're here. Increment
@@
-198,7
+198,7
@@
enum bt_trace_status bt_trace_set_name(struct bt_trace *trace, const char *name)
BT_ASSERT_PRE_TRACE_HOT(trace);
g_string_assign(trace->name.str, name);
trace->name.value = trace->name.str->str;
BT_ASSERT_PRE_TRACE_HOT(trace);
g_string_assign(trace->name.str, name);
trace->name.value = trace->name.str->str;
- BT_LIB_LOG
V
("Set trace's name: %!+t", trace);
+ BT_LIB_LOG
D
("Set trace's name: %!+t", trace);
return BT_TRACE_STATUS_OK;
}
return BT_TRACE_STATUS_OK;
}
@@
-286,7
+286,7
@@
enum bt_trace_status bt_trace_add_destruction_listener(
*listener_id = i;
}
*listener_id = i;
}
- BT_LIB_LOG
V
("Added destruction listener: " "%![trace-]+t, "
+ BT_LIB_LOG
D
("Added destruction listener: " "%![trace-]+t, "
"listener-id=%" PRIu64, trace, i);
return BT_TRACE_STATUS_OK;
}
"listener-id=%" PRIu64, trace, i);
return BT_TRACE_STATUS_OK;
}
@@
-318,7
+318,7
@@
enum bt_trace_status bt_trace_remove_destruction_listener(
elem->func = NULL;
elem->data = NULL;
elem->func = NULL;
elem->data = NULL;
- BT_LIB_LOG
V
("Removed \"trace destruction listener: "
+ BT_LIB_LOG
D
("Removed \"trace destruction listener: "
"%![trace-]+t, listener-id=%" PRIu64,
trace, listener_id);
return BT_TRACE_STATUS_OK;
"%![trace-]+t, listener-id=%" PRIu64,
trace, listener_id);
return BT_TRACE_STATUS_OK;
This page took
0.026275 seconds
and
4
git commands to generate.