Lines Matching refs:tp
62 const struct u_tracepoint *tp;
335 if (!evt->tp)
356 if (evt->tp->print) {
357 fprintf(utctx->out, "%016"PRIu64" %+9d: %s: ", ns, delta, evt->tp->name);
358 evt->tp->print(utctx->out, evt->payload);
360 fprintf(utctx->out, "%016"PRIu64" %+9d: %s\n", ns, delta, evt->tp->name);
364 if (evt->tp->perfetto) {
365 evt->tp->perfetto(utctx->pctx, ns, chunk->flush_data, evt->payload);
550 * Append a trace event, returning pointer to buffer of tp->payload_sz
555 u_trace_append(struct u_trace *ut, void *cs, const struct u_tracepoint *tp)
557 struct u_trace_chunk *chunk = get_chunk(ut, tp->payload_sz);
559 assert(tp->payload_sz == ALIGN_NPOT(tp->payload_sz, 8));
563 if (tp->payload_sz > 0) {
565 chunk->payload->next += tp->payload_sz;
572 .tp = tp,