projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: apply suggested fixes
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
modprobe.cpp
diff --git
a/src/bin/lttng-sessiond/modprobe.cpp
b/src/bin/lttng-sessiond/modprobe.cpp
index 0b274c9a3fae6e4986f4704c9bdc5e7c4ba221f7..e2050e7febefa809227f38c1b48c3d0a9b252603 100644
(file)
--- a/
src/bin/lttng-sessiond/modprobe.cpp
+++ b/
src/bin/lttng-sessiond/modprobe.cpp
@@
-787,7
+787,7
@@
int modprobe_lttng_data()
}
} else {
/* Default probes. */
- int def_len = ARRAY_SIZE(kern_modules_probes_default);
+
const
int def_len = ARRAY_SIZE(kern_modules_probes_default);
probes = calloc<kern_modules_param>(def_len);
if (!probes) {
This page took
0.023995 seconds
and
4
git commands to generate.