projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ini parser: truncation of value name
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-registry-event.hpp
diff --git
a/src/bin/lttng-sessiond/ust-registry-event.hpp
b/src/bin/lttng-sessiond/ust-registry-event.hpp
index 06f24a12050f4942316ba614f5eed2dd390d728d..b38b09553c18d432f96b98a9a49eb254fdf2a4f3 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-registry-event.hpp
+++ b/
src/bin/lttng-sessiond/ust-registry-event.hpp
@@
-36,7
+36,7
@@
public:
std::vector<lttng::sessiond::trace::field::cuptr> fields,
int loglevel_value,
nonstd::optional<std::string> model_emf_uri);
std::vector<lttng::sessiond::trace::field::cuptr> fields,
int loglevel_value,
nonstd::optional<std::string> model_emf_uri);
-
virtual ~registry_event()
= default;
+
~registry_event() override
= default;
/* Both objd are set by the tracer. */
const int session_objd;
/* Both objd are set by the tracer. */
const int session_objd;
@@
-63,12
+63,16
@@
void registry_event_destroy(registry_event *event);
} /* namespace sessiond */
} /* namespace lttng */
} /* namespace sessiond */
} /* namespace lttng */
+/*
+ * Due to a bug in g++ < 7.1, this specialization must be enclosed in the fmt namespace,
+ * see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480.
+ */
namespace fmt {
template <>
struct formatter<lttng::sessiond::ust::registry_event> : formatter<std::string> {
namespace fmt {
template <>
struct formatter<lttng::sessiond::ust::registry_event> : formatter<std::string> {
- template <typename FormatC
tx
>
- typename FormatC
tx
::iterator format(
- const lttng::sessiond::ust::registry_event& event, FormatC
tx
& ctx)
+ template <typename FormatC
ontextType
>
+ typename FormatC
ontextType
::iterator format(
+ const lttng::sessiond::ust::registry_event& event, FormatC
ontextType
& ctx)
{
return format_to(ctx.out(),
"{{ name = `{}`, signature = `{}`, id = {}, session objd = {}, channel objd = {} }}",
{
return format_to(ctx.out(),
"{{ name = `{}`, signature = `{}`, id = {}, session objd = {}, channel objd = {} }}",
This page took
0.023532 seconds
and
4
git commands to generate.