Set __entry->dir to the actual "dir" parameter of all trace events in dma_alloc_class. This struct member was left uninitialized by mistake.
Showing the changes to include/trace (1 of 1 file). Show all
Unified · Split
| @@ -133,6 +133,7 @@ DECLARE_EVENT_CLASS(dma_alloc_class, · 132 unmodified lines | ||
| 133 | 133 | __entry->dma_addr = dma_addr; |
| 134 | 134 | __entry->size = size; |
| 135 | 135 | __entry->flags = flags; |
| 136 | + __entry->dir = dir; | |
| 136 | 137 | __entry->attrs = attrs; |
| 137 | 138 | ), |
| 138 | 139 | |