X-Git-Url: https://git.liburcu.org/?p=ust.git;a=blobdiff_plain;f=tests%2Fhello%2Ftp.c;h=4eb7a27463e36b89e63a1ba1a9eea71ff8b25087;hp=ec3e7ac73e5263733cdc8ad6e31578eb64a5c17b;hb=ad5c7b826145e951950bd1afa6fce17ea193bb48;hpb=377d33ed8d03fbfd6c8655862de50d7fc213c0f4 diff --git a/tests/hello/tp.c b/tests/hello/tp.c index ec3e7ac..4eb7a27 100644 --- a/tests/hello/tp.c +++ b/tests/hello/tp.c @@ -37,8 +37,13 @@ void tptest_probe(void *data, int anint) printf("this is the message: %s\n", hello->message); } +void tptest2_probe(void *data) +{ +} + static void __attribute__((constructor)) init() { DBG("connecting tracepoint...\n"); register_tracepoint(hello_tptest, tptest_probe, &hello_struct); + register_tracepoint(hello_tptest2, tptest2_probe, &hello_struct); }