X-Git-Url: https://git.lttng.org/?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=701a99d1cf638273320db3ce52cf52816129d95a;hpb=a9c2df2bfce7a27b53ee5d5101f259f3e1f506b1 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; }