summaryrefslogtreecommitdiffstats
path: root/include/trace/events/gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/events/gk20a.h')
-rw-r--r--include/trace/events/gk20a.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/trace/events/gk20a.h b/include/trace/events/gk20a.h
index 4b3f94e7..8fa8cb94 100644
--- a/include/trace/events/gk20a.h
+++ b/include/trace/events/gk20a.h
@@ -293,6 +293,39 @@ TRACE_EVENT(gk20a_mmu_fault,
293 __entry->engine, __entry->client, __entry->fault_type) 293 __entry->engine, __entry->client, __entry->fault_type)
294); 294);
295 295
296DECLARE_EVENT_CLASS(gk20a_cde,
297 TP_PROTO(const void *ctx),
298 TP_ARGS(ctx),
299 TP_STRUCT__entry(__field(const void *, ctx)),
300 TP_fast_assign(__entry->ctx = ctx;),
301 TP_printk("ctx=%p", __entry->ctx)
302);
303
304DEFINE_EVENT(gk20a_cde, gk20a_cde_remove_ctx,
305 TP_PROTO(const void *ctx),
306 TP_ARGS(ctx)
307);
308
309DEFINE_EVENT(gk20a_cde, gk20a_cde_release,
310 TP_PROTO(const void *ctx),
311 TP_ARGS(ctx)
312);
313
314DEFINE_EVENT(gk20a_cde, gk20a_cde_get_context,
315 TP_PROTO(const void *ctx),
316 TP_ARGS(ctx)
317);
318
319DEFINE_EVENT(gk20a_cde, gk20a_cde_allocate_context,
320 TP_PROTO(const void *ctx),
321 TP_ARGS(ctx)
322);
323
324DEFINE_EVENT(gk20a_cde, gk20a_cde_finished_ctx_cb,
325 TP_PROTO(const void *ctx),
326 TP_ARGS(ctx)
327);
328
296#endif /* _TRACE_GK20A_H */ 329#endif /* _TRACE_GK20A_H */
297 330
298/* This part must be outside protection */ 331/* This part must be outside protection */