elf: support dynamic symbol table lookup
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-binary / userspace-probe-elf-binary.c
index 76f44027fadbd10a68a243b1877e9f3fe49e38df..a9dfb22b4cccc1ae7cd679257cba77a8b0b700c6 100644 (file)
@@ -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;
 }
This page took 0.025035 seconds and 5 git commands to generate.