projects
/
deliverable
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bytecode: handle all integer types of dynamic contexts
[deliverable/lttng-ust.git]
/
tests
/
compile
/
test-app-ctx
/
hello.c
diff --git
a/tests/compile/test-app-ctx/hello.c
b/tests/compile/test-app-ctx/hello.c
index e9e45ec7c51db46aae588276d14085322136ac06..ec51263572090336db394eb90cbef9cef77b438e 100644
(file)
--- a/
tests/compile/test-app-ctx/hello.c
+++ b/
tests/compile/test-app-ctx/hello.c
@@
-240,16
+240,16
@@
void test_get_value(struct lttng_ctx_field *field,
value->u.s64 = -64;
break;
case LTTNG_UST_DYNAMIC_TYPE_U8:
value->u.s64 = -64;
break;
case LTTNG_UST_DYNAMIC_TYPE_U8:
- value->u.
s
64 = 8;
+ value->u.
u
64 = 8;
break;
case LTTNG_UST_DYNAMIC_TYPE_U16:
break;
case LTTNG_UST_DYNAMIC_TYPE_U16:
- value->u.
s
64 = 16;
+ value->u.
u
64 = 16;
break;
case LTTNG_UST_DYNAMIC_TYPE_U32:
break;
case LTTNG_UST_DYNAMIC_TYPE_U32:
- value->u.
s
64 = 32;
+ value->u.
u
64 = 32;
break;
case LTTNG_UST_DYNAMIC_TYPE_U64:
break;
case LTTNG_UST_DYNAMIC_TYPE_U64:
- value->u.
s
64 = 64;
+ value->u.
u
64 = 64;
break;
case LTTNG_UST_DYNAMIC_TYPE_FLOAT:
value->u.d = 22322.0;
break;
case LTTNG_UST_DYNAMIC_TYPE_FLOAT:
value->u.d = 22322.0;
This page took
0.025242 seconds
and
5
git commands to generate.