Go to the source code of this file.
|
| TRACE_EVENT (spufs_context, TP_PROTO(struct spu_context *ctx, struct spu *spu, const char *name), TP_ARGS(ctx, spu, name), TP_STRUCT__entry(__field(const char *, name) __field(int, owner_tid) __field(int, number)), TP_fast_assign(__entry->name=name;__entry->owner_tid=ctx->tid;__entry->number=spu?spu->number:-1;), TP_printk("%s (ctxthread = %d, spu = %d)", __entry->name, __entry->owner_tid, __entry->number)) |
|
#define TRACE_INCLUDE_FILE sputrace |
#define TRACE_INCLUDE_PATH . |
#define TRACE_SYSTEM spufs |
TRACE_EVENT |
( |
spufs_context |
, |
|
|
TP_PROTO(struct spu_context *ctx, struct spu *spu, const char *name) |
, |
|
|
TP_ARGS(ctx, spu, name) |
, |
|
|
TP_STRUCT__entry(__field(const char *, name) __field(int, owner_tid) __field(int, number)) |
, |
|
|
TP_fast_assign(__entry->name=name;__entry->owner_tid=ctx->tid;__entry->number=spu?spu->number:-1;) |
, |
|
|
TP_printk("%s (ctxthread = %d, spu = %d)", __entry->name, __entry->owner_tid, __entry->number) |
|
|
) |
| |