projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: add declaration for test_function in userspace-probe-elf-binary.c
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
userspace-probe-elf-binary
/
userspace-probe-elf-binary.c
diff --git
a/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c
b/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c
index a9dfb22b4cccc1ae7cd679257cba77a8b0b700c6..8488c8a3940ffb9770ca94cba79f553db6d22c9d 100644
(file)
--- a/
tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c
+++ b/
tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c
@@
-18,10
+18,13
@@
#include "foo.h"
volatile int not_a_function = 0;
#include "foo.h"
volatile int not_a_function = 0;
-void __attribute__ ((noinline)) test_function()
+
+void __attribute__ ((noinline)) test_function();
+void __attribute__ ((noinline)) test_function()
{
not_a_function += 1;
}
{
not_a_function += 1;
}
+
int main(int argc, char *argv[])
{
test_function();
int main(int argc, char *argv[])
{
test_function();
This page took
0.023286 seconds
and
4
git commands to generate.