projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: open_packets: use user_space_consumer_channel_keys util
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
gen-ust-events
/
gen-ust-events.cpp
diff --git
a/tests/utils/testapp/gen-ust-events/gen-ust-events.cpp
b/tests/utils/testapp/gen-ust-events/gen-ust-events.cpp
index 74ba9cf04e629b94ffd2db85c968e9dd5171dc89..0e6b4812a119130f656bef2bf6de384a14681dfb 100644
(file)
--- a/
tests/utils/testapp/gen-ust-events/gen-ust-events.cpp
+++ b/
tests/utils/testapp/gen-ust-events/gen-ust-events.cpp
@@
-51,8
+51,8
@@
int main(int argc, char **argv)
long values[] = { 1, 2, 3 };
char text[10] = "test";
char escape[10] = "\\*";
long values[] = { 1, 2, 3 };
char text[10] = "test";
char escape[10] = "\\*";
- double dbl = 2.0;
- float flt = 2222.0;
+
const
double dbl = 2.0;
+
const
float flt = 2222.0;
uint32_t net_values[] = { 1, 2, 3 };
int nr_iter = 100, ret = 0, first_event_file_created = 0;
useconds_t nr_usec = 0;
uint32_t net_values[] = { 1, 2, 3 };
int nr_iter = 100, ret = 0, first_event_file_created = 0;
useconds_t nr_usec = 0;
@@
-76,8
+76,8
@@
int main(int argc, char **argv)
net_values[i] = htonl(net_values[i]);
}
net_values[i] = htonl(net_values[i]);
}
- while ((option = getopt_long(
argc, argv, "i:w:a:b:c:d:e:f:g:h", long_options, &option_index)) !=
- -1) {
+ while ((option = getopt_long(
+
argc, argv, "i:w:a:b:c:d:e:f:g:h", long_options, &option_index)) !=
-1) {
switch (option) {
case 'a':
application_in_main_file_path = strdup(optarg);
switch (option) {
case 'a':
application_in_main_file_path = strdup(optarg);
This page took
0.024006 seconds
and
4
git commands to generate.