projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flt.lttng-utils.debug-info: honor component's initial log level
[babeltrace.git]
/
src
/
plugins
/
lttng-utils
/
debug-info
/
trace-ir-metadata-field-class-copy.c
diff --git
a/src/plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.c
b/src/plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.c
index 70242d665ebd17e85c98a403b1909ea7ecf57bec..8d87f98193ddc56b5be28248630bafa98bfa5255 100644
(file)
--- a/
src/plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.c
+++ b/
src/plugins/lttng-utils/debug-info/trace-ir-metadata-field-class-copy.c
@@
-24,8
+24,9
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
-#define BT_LOG_TAG "PLUGIN-LTTNG-UTILS-DEBUG-INFO-TRACE-IR-METADATA-FC-COPY"
-#include "logging.h"
+#define BT_LOG_OUTPUT_LEVEL (md_maps->log_level)
+#define BT_LOG_TAG "PLUGIN/FLT.LTTNG-UTILS.DEBUG-INFO/TRACE-IR-META-FC-COPY"
+#include "logging/log.h"
#include "common/assert.h"
#include "common/common.h"
#include "common/assert.h"
#include "common/common.h"
@@
-41,8
+42,8
@@
* structures ultimately leading to a field class.
*/
static
* structures ultimately leading to a field class.
*/
static
-const bt_field_class *walk_field_path(
const bt_field_path *fp
,
- const bt_field_class *fc)
+const bt_field_class *walk_field_path(
struct trace_ir_metadata_maps *md_maps
,
+ const bt_field_
path *fp, const bt_field_
class *fc)
{
uint64_t i, fp_item_count;
const bt_field_class *curr_fc;
{
uint64_t i, fp_item_count;
const bt_field_class *curr_fc;
@@
-117,16
+118,20
@@
const bt_field_class *resolve_field_path_to_field_class(const bt_field_path *fp,
switch (fp_scope) {
case BT_SCOPE_PACKET_CONTEXT:
switch (fp_scope) {
case BT_SCOPE_PACKET_CONTEXT:
- fc = walk_field_path(fp, fc_resolving_ctx->packet_context);
+ fc = walk_field_path(md_maps, fp,
+ fc_resolving_ctx->packet_context);
break;
case BT_SCOPE_EVENT_COMMON_CONTEXT:
break;
case BT_SCOPE_EVENT_COMMON_CONTEXT:
- fc = walk_field_path(fp, fc_resolving_ctx->event_common_context);
+ fc = walk_field_path(md_maps, fp,
+ fc_resolving_ctx->event_common_context);
break;
case BT_SCOPE_EVENT_SPECIFIC_CONTEXT:
break;
case BT_SCOPE_EVENT_SPECIFIC_CONTEXT:
- fc = walk_field_path(fp, fc_resolving_ctx->event_specific_context);
+ fc = walk_field_path(md_maps, fp,
+ fc_resolving_ctx->event_specific_context);
break;
case BT_SCOPE_EVENT_PAYLOAD:
break;
case BT_SCOPE_EVENT_PAYLOAD:
- fc = walk_field_path(fp, fc_resolving_ctx->event_payload);
+ fc = walk_field_path(md_maps, fp,
+ fc_resolving_ctx->event_payload);
break;
default:
abort();
break;
default:
abort();
This page took
0.025106 seconds
and
4
git commands to generate.