projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: run format-cpp on the tree
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
userspace-probe-sdt-binary
/
userspace-probe-sdt-binary.c
diff --git
a/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c
b/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c
index 03bdb3a45f5b63e974c632bfbcce2924a2e48779..c9c8036970638788acbce1c4d91f18c0249ad24a 100644
(file)
--- a/
tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c
+++ b/
tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c
@@
-9,20
+9,19
@@
#define _GNU_SOURCE
#endif
#define _GNU_SOURCE
#endif
+#include "foobar_provider.h"
+#include "libfoo.h"
+#include "sema.h"
+
#include <dlfcn.h>
#include <fcntl.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
+#include <sys/sdt.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <sys/sdt.h>
-
-#include "foobar_provider.h"
-#include "libfoo.h"
-#include "sema.h"
-
int main(int argc, char *argv[])
{
void *handle;
int main(int argc, char *argv[])
{
void *handle;
@@
-48,7
+47,7
@@
int main(int argc, char *argv[])
fprintf(stderr, "Can't dlopen libbar.so");
return -1;
}
fprintf(stderr, "Can't dlopen libbar.so");
return -1;
}
- bar_function = (void (*)())dlsym(handle, "bar_function");
+ bar_function = (void (*)())
dlsym(handle, "bar_function");
bar_function();
dlclose(handle);
bar_function();
dlclose(handle);
@@
-68,4
+67,3
@@
int main(int argc, char *argv[])
sema_function();
return 0;
}
sema_function();
return 0;
}
-
This page took
0.022979 seconds
and
4
git commands to generate.