Add kernel tracing instrumentation
Useful to figure out what happens and when. The trace points can be visualized via gpuvis.
Not sure we want that upstream, I'm just submitting this as a draft so that one can easily add new tracepoints during an investigation.