summaryrefslogtreecommitdiffstats
path: root/include/trace/events
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2016-03-21 14:16:47 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-04-07 16:56:38 -0400
commitb2dd107455267b7f5ed3c6687c2bba48f3bdb941 (patch)
tree9c785afc79d1dd8cdcb8621383f6644c18bc1af1 /include/trace/events
parent327644a1a0af43ce2e369bd0a87b7e2142368285 (diff)
gpu: nvgpu: add trace event for channel reset
Change-Id: I319e877978b7f483108ef8f67c05702b71709f62 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1120501 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/trace/events')
-rw-r--r--include/trace/events/gk20a.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/trace/events/gk20a.h b/include/trace/events/gk20a.h
index 23b5b642..c382099a 100644
--- a/include/trace/events/gk20a.h
+++ b/include/trace/events/gk20a.h
@@ -285,6 +285,25 @@ TRACE_EVENT(gk20a_channel_submitted_gpfifo,
285 __entry->flags, __entry->incr_id, __entry->incr_value) 285 __entry->flags, __entry->incr_id, __entry->incr_value)
286); 286);
287 287
288TRACE_EVENT(gk20a_channel_reset,
289 TP_PROTO(u32 hw_chid, u32 tsgid),
290
291 TP_ARGS(hw_chid, tsgid),
292
293 TP_STRUCT__entry(
294 __field(u32, hw_chid)
295 __field(u32, tsgid)
296 ),
297
298 TP_fast_assign(
299 __entry->hw_chid = hw_chid;
300 __entry->tsgid = tsgid;
301 ),
302
303 TP_printk("hw_chid=%d, tsgid=%d",
304 __entry->hw_chid, __entry->tsgid)
305);
306
288 307
289TRACE_EVENT(gk20a_as_dev_open, 308TRACE_EVENT(gk20a_as_dev_open,
290 TP_PROTO(const char *name), 309 TP_PROTO(const char *name),