projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: preserve jul/log4j domain loglevels
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ctf2-trace-class-visitor.cpp
diff --git
a/src/bin/lttng-sessiond/ctf2-trace-class-visitor.cpp
b/src/bin/lttng-sessiond/ctf2-trace-class-visitor.cpp
index 6b6c6265b5c8e661b84fe8cc0e4ad961e113c42e..8da98591d6e0c731eea61d67199a8c859cef6b72 100644
(file)
--- a/
src/bin/lttng-sessiond/ctf2-trace-class-visitor.cpp
+++ b/
src/bin/lttng-sessiond/ctf2-trace-class-visitor.cpp
@@
-103,7
+103,8
@@
const char *get_role_name(lst::static_length_blob_type::role role)
namespace ctf2 {
class trace_environment_visitor : public lst::trace_class_environment_visitor {
public:
namespace ctf2 {
class trace_environment_visitor : public lst::trace_class_environment_visitor {
public:
- trace_environment_visitor() = default;
+ trace_environment_visitor() = default; /* NOLINT clang-tidy 14 identifies this as a move
+ constructor. */
void visit(const lst::environment_field<int64_t>& field) override
{
void visit(const lst::environment_field<int64_t>& field) override
{
@@
-134,7
+135,7
@@
private:
class field_visitor : public lttng::sessiond::trace::field_visitor,
public lttng::sessiond::trace::type_visitor {
public:
class field_visitor : public lttng::sessiond::trace::field_visitor,
public lttng::sessiond::trace::type_visitor {
public:
- field_visitor() = default;
+ field_visitor() = default;
/* NOLINT clang-tidy 14 identifies this as a move constructor. */
/* Only call once. */
json::json move_fragment()
/* Only call once. */
json::json move_fragment()
@@
-204,8
+205,8
@@
private:
if (std::is_signed<typename EnumerationType::mapping::range_t::
range_integer_t>::value) {
LTTNG_THROW_ERROR(
if (std::is_signed<typename EnumerationType::mapping::range_t::
range_integer_t>::value) {
LTTNG_THROW_ERROR(
-
fmt
::format("Failed to serialize {}: unexpected role",
- _fragment["type"]));
+
lttng
::format("Failed to serialize {}: unexpected role",
+
_fragment["type"]));
}
auto role_array = json::json::array();
}
auto role_array = json::json::array();
@@
-218,7
+219,7
@@
private:
}
if (type.mappings_->size() < 1) {
}
if (type.mappings_->size() < 1) {
- LTTNG_THROW_ERROR(
fmt
::format(
+ LTTNG_THROW_ERROR(
lttng
::format(
"Failed to serialize {}: enumeration must have at least one mapping",
_fragment["type"]));
}
"Failed to serialize {}: enumeration must have at least one mapping",
_fragment["type"]));
}
This page took
0.023773 seconds
and
4
git commands to generate.