projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Standardize version across toolchain
[lttng-modules.git]
/
lttng-events.c
diff --git
a/lttng-events.c
b/lttng-events.c
index a3758229c745ef53fa0929d766fc95dce8d66bec..a062044698b95e218f2fcb05b41cec8170e33cd6 100644
(file)
--- a/
lttng-events.c
+++ b/
lttng-events.c
@@
-932,8
+932,8
@@
int _lttng_session_metadata_statedump(struct lttng_session *session)
lttng_alignof(uint16_t) * CHAR_BIT,
lttng_alignof(uint32_t) * CHAR_BIT,
lttng_alignof(uint64_t) * CHAR_BIT,
lttng_alignof(uint16_t) * CHAR_BIT,
lttng_alignof(uint32_t) * CHAR_BIT,
lttng_alignof(uint64_t) * CHAR_BIT,
- CTF_
VERSION
_MAJOR,
- CTF_
VERSION
_MINOR,
+ CTF_
SPEC
_MAJOR,
+ CTF_
SPEC
_MINOR,
uuid_s,
#ifdef __BIG_ENDIAN
"be"
uuid_s,
#ifdef __BIG_ENDIAN
"be"
@@
-946,15
+946,21
@@
int _lttng_session_metadata_statedump(struct lttng_session *session)
ret = lttng_metadata_printf(session,
"env {\n"
ret = lttng_metadata_printf(session,
"env {\n"
- " domain = \"
%s
\";\n"
+ " domain = \"
kernel
\";\n"
" sysname = \"%s\";\n"
" sysname = \"%s\";\n"
- " release = \"%s\";\n"
- " version = \"%s\";\n"
+ " kernel_release = \"%s\";\n"
+ " kernel_version = \"%s\";\n"
+ " tracer_name = \"lttng-modules\";\n"
+ " tracer_major = %d;\n"
+ " tracer_minor = %d;\n"
+ " tracer_patchlevel = %d;\n"
"};\n\n",
"};\n\n",
- "kernel",
utsname()->sysname,
utsname()->release,
utsname()->sysname,
utsname()->release,
- utsname()->version
+ utsname()->version,
+ LTTNG_MODULES_MAJOR_VERSION,
+ LTTNG_MODULES_MINOR_VERSION,
+ LTTNG_MODULES_PATCHLEVEL_VERSION
);
if (ret)
goto end;
);
if (ret)
goto end;
This page took
0.02437 seconds
and
4
git commands to generate.