X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-sdt-binary%2Fuserspace-probe-sdt-binary.c;fp=tests%2Futils%2Ftestapp%2Fuserspace-probe-sdt-binary%2Fuserspace-probe-sdt-binary.c;h=03bdb3a45f5b63e974c632bfbcce2924a2e48779;hp=45eec1203128b9d82d1138e9301e2bc4c3c08124;hb=a12fbf640489be17c800edc1fba9f926b8a1ab8b;hpb=04c4013244cf665c35ba9049606bd1787bde58ac diff --git a/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c b/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c index 45eec1203..03bdb3a45 100644 --- a/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c +++ b/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c @@ -31,16 +31,16 @@ int main(int argc, char *argv[]) FOOBAR_TP1(); FOOBAR_TP2(); /* - * This SDT tracepoint has an argument. Argument extraction is not support - * at the moment but tracing of the tracepoint should work. + * This SDT tracepoint has an argument. Argument extraction is not supported + * at the moment, but tracing of the tracepoint should work. */ FOOBAR_TP_WITH_ARG(42); - /* Call function containing an SDT tracepoint in shared object */ + /* Call a function containing an SDT tracepoint in shared object. */ foo_function(); /* - * Load a show shared object and call a function containing an SDT + * Load a shared object and call a function containing an SDT * tracepoint */ handle = dlopen("libbar.so", RTLD_LAZY); @@ -52,12 +52,12 @@ int main(int argc, char *argv[]) bar_function(); dlclose(handle); - /* This tracepoint has 2 callsites in this binary */ + /* This tracepoint has 2 call sites in this binary. */ FOOBAR_TP2(); /* - * This function is defined in libfoo AND in libzzz. For a test, libzzz is - * LD_PRELOADed and should override this function + * This function is defined in libfoo and in libzzz. For a test, libzzz is + * LD_PRELOADed and should override this function. */ overridable_function();