projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify kernel version check error messages
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
kernel.c
diff --git
a/src/bin/lttng-sessiond/kernel.c
b/src/bin/lttng-sessiond/kernel.c
index 7bc713a35be7935250a0f96a63c480419c840706..dee065460b1e661f8dca9f32a9070f3b876b24bc 100644
(file)
--- a/
src/bin/lttng-sessiond/kernel.c
+++ b/
src/bin/lttng-sessiond/kernel.c
@@
-836,7
+836,7
@@
int kernel_validate_version(int tracer_fd)
ret = kernctl_tracer_version(tracer_fd, &version);
if (ret < 0) {
ret = kernctl_tracer_version(tracer_fd, &version);
if (ret < 0) {
- ERR("Failed
at getting
the lttng-modules version");
+ ERR("Failed
to retrieve
the lttng-modules version");
goto error;
}
goto error;
}
@@
-848,11
+848,11
@@
int kernel_validate_version(int tracer_fd)
}
ret = kernctl_tracer_abi_version(tracer_fd, &abi_version);
if (ret < 0) {
}
ret = kernctl_tracer_abi_version(tracer_fd, &abi_version);
if (ret < 0) {
- ERR("Failed
at getting
lttng-modules ABI version");
+ ERR("Failed
to retrieve
lttng-modules ABI version");
goto error;
}
if (abi_version.major != LTTNG_MODULES_ABI_MAJOR_VERSION) {
goto error;
}
if (abi_version.major != LTTNG_MODULES_ABI_MAJOR_VERSION) {
- ERR("Kernel tracer ABI version (%d.%d)
is not compatible with
expected ABI major version (%d.*)",
+ ERR("Kernel tracer ABI version (%d.%d)
does not match the
expected ABI major version (%d.*)",
abi_version.major, abi_version.minor,
LTTNG_MODULES_ABI_MAJOR_VERSION);
goto error;
abi_version.major, abi_version.minor,
LTTNG_MODULES_ABI_MAJOR_VERSION);
goto error;
@@
-866,6
+866,7
@@
error_version:
ret = -1;
error:
ret = -1;
error:
+ ERR("Kernel tracer version check failed; kernel tracing will not be available");
return ret;
}
return ret;
}
This page took
0.036862 seconds
and
4
git commands to generate.