projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: add array test
[lttng-ust.git]
/
tests
/
hello
/
hello.c
diff --git
a/tests/hello/hello.c
b/tests/hello/hello.c
index afa4a713bf2569b536404c77cf322fbfe9f1a486..469561cc5641462dbb2066ff245939b9a14bb9f9 100644
(file)
--- a/
tests/hello/hello.c
+++ b/
tests/hello/hello.c
@@
-63,6
+63,7
@@
int init_int_handler(void)
int main(int argc, char **argv)
{
int i;
+ long values[] = { 1, 2, 3 };
init_int_handler();
@@
-71,7
+72,7
@@
int main(int argc, char **argv)
sleep(1);
for (i = 0; i < 50; i++) {
- tracepoint(ust_tests_hello_tptest, i);
+ tracepoint(ust_tests_hello_tptest, i
, values
);
usleep(100000);
}
return 0;
This page took
0.023187 seconds
and
4
git commands to generate.