X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Fcommon%2Fmetadata%2Fctf-meta-warn-meaningless-header-fields.cpp;h=6b31f88e6153a8600e00d3d2886ef60d6fcbc72d;hb=c802cacb9f0879a42e01575595a75bbefe7d3db9;hp=ccad81cf18cdecb94b774236bca0861794636abe;hpb=4164020e790fa6c0700715936b40a3fa46df479e;p=babeltrace.git diff --git a/src/plugins/ctf/common/metadata/ctf-meta-warn-meaningless-header-fields.cpp b/src/plugins/ctf/common/metadata/ctf-meta-warn-meaningless-header-fields.cpp index ccad81cf..6b31f88e 100644 --- a/src/plugins/ctf/common/metadata/ctf-meta-warn-meaningless-header-fields.cpp +++ b/src/plugins/ctf/common/metadata/ctf-meta-warn-meaningless-header-fields.cpp @@ -4,21 +4,23 @@ * Copyright 2018 Philippe Proulx */ +#include +#include +#include +#include + +#include + #define BT_COMP_LOG_SELF_COMP (log_cfg->self_comp) #define BT_LOG_OUTPUT_LEVEL (log_cfg->log_level) #define BT_LOG_TAG "PLUGIN/CTF/META/WARN-MEANINGLESS-HEADER-FIELDS" +#include "logging.hpp" #include "logging/comp-logging.h" -#include -#include "common/macros.h" #include "common/assert.h" -#include -#include -#include -#include +#include "common/macros.h" #include "ctf-meta-visitors.hpp" -#include "logging.hpp" static inline void warn_meaningless_field(const char *name, const char *scope_name, struct meta_log_config *log_cfg) @@ -107,7 +109,6 @@ end: return; } -BT_HIDDEN void ctf_trace_class_warn_meaningless_header_fields(struct ctf_trace_class *ctf_tc, struct meta_log_config *log_cfg) {