#include "nvhost_channel.h"
#include "dev.h"
#include "nvhost_hwctx.h"
+#include <trace/events/nvhost.h>
#include <linux/platform_device.h>
/* context switch */
if (channel->cur_ctx != hwctx) {
+ trace_nvhost_channel_context_switch(channel->desc->name,
+ channel->cur_ctx, hwctx);
hwctx_to_save = channel->cur_ctx;
if (hwctx_to_save) {
syncpt_incrs += hwctx_to_save->save_incrs;