X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-elf-cxx-binary%2Ftest_class.cpp;h=e673854fec834b80a7f5c27b86fccb10a2a2bed9;hp=8c25f51457fd4b661c21a4b6c7560839504d460b;hb=d027de5b303edccbad880d7b9494c3f562f1b323;hpb=ec005ec6d2d9e72e44b6614a573114f03669f242 diff --git a/tests/utils/testapp/userspace-probe-elf-cxx-binary/test_class.cpp b/tests/utils/testapp/userspace-probe-elf-cxx-binary/test_class.cpp index 8c25f5145..e673854fe 100644 --- a/tests/utils/testapp/userspace-probe-elf-cxx-binary/test_class.cpp +++ b/tests/utils/testapp/userspace-probe-elf-cxx-binary/test_class.cpp @@ -17,6 +17,9 @@ */ #include "test_class.h" +test_class::test_class() { + test_member = 1; +} void test_class::test_method() { test_member += 1;