diff options
| author | Puneet Saxena <puneets@nvidia.com> | 2017-04-05 07:22:52 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-07 10:19:50 -0400 |
| commit | 8a64a8fc8b8d11f19951ddf00ea317d2eae41edb (patch) | |
| tree | 386391aeff8a3af3bad4ec7a119bb574846fc8a7 /include/trace | |
| parent | 0268fc51d5266271e62f9ade3d7b4fa1f8b3b904 (diff) | |
video: tegra: host: pva: cleanup and format pva traces
It cleans up the code and format trace points.
JIRA PVA-111
JIRA PVA-148
Change-Id: Ied9a315e077e9c317464ca3f1156d92257f15ade
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/1455886
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Tested-by: Arto Merilainen <amerilainen@nvidia.com>
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/nvhost_pva.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/trace/events/nvhost_pva.h b/include/trace/events/nvhost_pva.h index 3ee330788..7e95e6676 100644 --- a/include/trace/events/nvhost_pva.h +++ b/include/trace/events/nvhost_pva.h | |||
| @@ -69,7 +69,7 @@ TRACE_EVENT(nvhost_pva_write, | |||
| 69 | __entry->arg2 = arg2; | 69 | __entry->arg2 = arg2; |
| 70 | ), | 70 | ), |
| 71 | 71 | ||
| 72 | TP_printk("time: %llu\tmajor: 0x%u\tminor: %u\tflags: 0x%x\t" | 72 | TP_printk("time: %llu\tmajor: 0x%x\tminor: 0x%x\tflags: 0x%x\t" |
| 73 | "sequence: 0x%x\targ1: %u\targ2: %u", | 73 | "sequence: 0x%x\targ1: %u\targ2: %u", |
| 74 | __entry->delta_time, __entry->major, __entry->minor, | 74 | __entry->delta_time, __entry->major, __entry->minor, |
| 75 | __entry->flags, __entry->sequence, __entry->arg1, __entry->arg2) | 75 | __entry->flags, __entry->sequence, __entry->arg1, __entry->arg2) |
| @@ -78,4 +78,10 @@ TRACE_EVENT(nvhost_pva_write, | |||
| 78 | #endif /* _TRACE_NVHOST_PVA_H */ | 78 | #endif /* _TRACE_NVHOST_PVA_H */ |
| 79 | 79 | ||
| 80 | /* This part must be outside protection */ | 80 | /* This part must be outside protection */ |
| 81 | #undef TRACE_INCLUDE_PATH | ||
| 82 | #undef TRACE_INCLUDE_FILE | ||
| 83 | #define TRACE_INCLUDE_PATH ../../../nvhost-t19x/include/trace/events/ | ||
| 84 | |||
| 85 | #define TRACE_INCLUDE_FILE nvhost_pva | ||
| 86 | /* This part must be outside protection */ | ||
| 81 | #include <trace/define_trace.h> | 87 | #include <trace/define_trace.h> |
