X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-elf-binary%2Fuserspace-probe-elf-binary.c;h=a9dfb22b4cccc1ae7cd679257cba77a8b0b700c6;hp=76f44027fadbd10a68a243b1877e9f3fe49e38df;hb=ef3dfe5d31c88fb548189a6441aaf8b2afc0bd4b;hpb=5ae0c80e1f9a3ed89044a6e810d7d844fab6ba24 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 76f44027f..a9dfb22b4 100644 --- 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 @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "foo.h" volatile int not_a_function = 0; void __attribute__ ((noinline)) test_function() { @@ -24,5 +25,6 @@ void __attribute__ ((noinline)) test_function() int main(int argc, char *argv[]) { test_function(); + dynamic_symbol(42); return 0; }