projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Distinguish UST return codes from transport return codes
[lttng-ust.git]
/
tests
/
ust-multi-test
/
ust-multi-test.c
diff --git
a/tests/ust-multi-test/ust-multi-test.c
b/tests/ust-multi-test/ust-multi-test.c
index 3f0cf1d565cfc21b674da14e9fbedec26b5e5e12..3f00f7edfcfd9ae3b5ffff9333c685c03f1178ef 100644
(file)
--- a/
tests/ust-multi-test/ust-multi-test.c
+++ b/
tests/ust-multi-test/ust-multi-test.c
@@
-92,7
+92,7
@@
int open_streams(int sock, int channel_handle, struct lttng_ust_object_data *str
stream_datas[k].handle = lur.ret_val;
printf("received stream handle %u\n",
stream_datas[k].handle);
stream_datas[k].handle = lur.ret_val;
printf("received stream handle %u\n",
stream_datas[k].handle);
- if (lur.ret_code ==
USTCOMM
_OK) {
+ if (lur.ret_code ==
LTTNG_UST
_OK) {
ssize_t len;
stream_datas[k].memory_map_size = lur.u.stream.memory_map_size;
ssize_t len;
stream_datas[k].memory_map_size = lur.u.stream.memory_map_size;
@@
-367,7
+367,7
@@
int send_app_msgs(int sock)
return ret;
metadata_data[i].handle = lur.ret_val;
printf("received metadata handle %u\n", metadata_data[i].handle);
return ret;
metadata_data[i].handle = lur.ret_val;
printf("received metadata handle %u\n", metadata_data[i].handle);
- if (lur.ret_code ==
USTCOMM
_OK) {
+ if (lur.ret_code ==
LTTNG_UST
_OK) {
ssize_t len;
metadata_data[i].memory_map_size = lur.u.channel.memory_map_size;
ssize_t len;
metadata_data[i].memory_map_size = lur.u.channel.memory_map_size;
@@
-409,7
+409,7
@@
int send_app_msgs(int sock)
return ret;
channel_data[i][j].handle = lur.ret_val;
printf("received channel handle %u\n", channel_data[i][j].handle);
return ret;
channel_data[i][j].handle = lur.ret_val;
printf("received channel handle %u\n", channel_data[i][j].handle);
- if (lur.ret_code ==
USTCOMM
_OK) {
+ if (lur.ret_code ==
LTTNG_UST
_OK) {
ssize_t len;
channel_data[i][j].memory_map_size = lur.u.channel.memory_map_size;
ssize_t len;
channel_data[i][j].memory_map_size = lur.u.channel.memory_map_size;
This page took
0.024638 seconds
and
4
git commands to generate.