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]
/
liblttng-ust
/
lttng-ust-abi.c
diff --git
a/liblttng-ust/lttng-ust-abi.c
b/liblttng-ust/lttng-ust-abi.c
index 61d37ac8b172fc0f99c3eaef958640b8e1ee0a1a..bbbcd062e1bd19026820f20ed64046009d021a14 100644
(file)
--- a/
liblttng-ust/lttng-ust-abi.c
+++ b/
liblttng-ust/lttng-ust-abi.c
@@
-38,6
+38,7
@@
*/
#include <lttng/ust-abi.h>
*/
#include <lttng/ust-abi.h>
+#include <lttng/ust-error.h>
#include <urcu/compiler.h>
#include <urcu/list.h>
#include <lttng/ust-events.h>
#include <urcu/compiler.h>
#include <urcu/list.h>
#include <lttng/ust-events.h>
@@
-541,7
+542,7
@@
long lttng_tracepoint_list_cmd(int objd, unsigned int cmd, unsigned long arg,
retry:
iter = lttng_ust_tracepoint_list_get_iter_next(list);
if (!iter)
retry:
iter = lttng_ust_tracepoint_list_get_iter_next(list);
if (!iter)
- return -
E
NOENT;
+ return -
LTTNG_UST_ERR_
NOENT;
if (!strcmp(iter->name, "lttng_ust:metadata"))
goto retry;
memcpy(tp, iter, sizeof(*tp));
if (!strcmp(iter->name, "lttng_ust:metadata"))
goto retry;
memcpy(tp, iter, sizeof(*tp));
@@
-623,7
+624,7
@@
long lttng_tracepoint_field_list_cmd(int objd, unsigned int cmd,
retry:
iter = lttng_ust_field_list_get_iter_next(list);
if (!iter)
retry:
iter = lttng_ust_field_list_get_iter_next(list);
if (!iter)
- return -
E
NOENT;
+ return -
LTTNG_UST_ERR_
NOENT;
if (!strcmp(iter->event_name, "lttng_ust:metadata"))
goto retry;
memcpy(tp, iter, sizeof(*tp));
if (!strcmp(iter->event_name, "lttng_ust:metadata"))
goto retry;
memcpy(tp, iter, sizeof(*tp));
This page took
0.02365 seconds
and
4
git commands to generate.