static void __attribute__((constructor)) init()
{
- register_trace_ust_event(tp_probe, NULL);
+ register_tracepoint(ust_event, tp_probe, NULL);
}
void single_trace(unsigned int v)
{
- trace_ust_event(v);
+ tracepoint(ust_event, v);
}
void do_trace(void)