Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Nils Carlson <nils.carlson@ericsson.com>
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);
}
DECLARE_TRACE(hello_tptest,
TP_PROTO(int anint),
TP_ARGS(anint));
+
+DECLARE_TRACE_NOARGS(hello_tptest2);