projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Correct use of taskset in snapshot tests
[lttng-tools.git]
/
tests
/
regression
/
ust
/
libc-wrapper
/
prog.c
diff --git
a/tests/regression/ust/libc-wrapper/prog.c
b/tests/regression/ust/libc-wrapper/prog.c
index c7aa0d307479b9bf7eed71693e0e9dff703ee3b1..882dbb82f63097641d852b1ae54c361c95277de4 100644
(file)
--- a/
tests/regression/ust/libc-wrapper/prog.c
+++ b/
tests/regression/ust/libc-wrapper/prog.c
@@
-7,8
+7,8
@@
/* This program is used to test malloc instrumentation with libustinstr-malloc.
*/
/* This program is used to test malloc instrumentation with libustinstr-malloc.
*/
-#include <string.h>
#include <stdlib.h>
#include <stdlib.h>
+#include <string.h>
#define N_ITER 1000
#define N_ITER 1000
@@
-19,7
+19,7
@@
int main(void)
void *ptrs[N_ITER];
for (i = 0; i < N_ITER; i++) {
void *ptrs[N_ITER];
for (i = 0; i < N_ITER; i++) {
- ptrs[i] = malloc(i
+
1000);
+ ptrs[i] = malloc(i
+
1000);
if (!ptrs[i]) {
exit(EXIT_FAILURE);
}
if (!ptrs[i]) {
exit(EXIT_FAILURE);
}
This page took
0.024393 seconds
and
4
git commands to generate.