History

dma-mapping: fix direction in dma_alloc direction traces

Set __entry->dir to the actual "dir" parameter of all trace events in dma_alloc_class. This struct member was left uninitialized by mistake.

Petr Tesarik committed 1 year ago

Commit 16abbab1 parent ab220541 file · +1 −0Browse files

Unified · Split

include/trace/events/dma.h+1−0
@@ -133,6 +133,7 @@ DECLARE_EVENT_CLASS(dma_alloc_class, · 132 unmodified lines
133133 __entry->dma_addr = dma_addr;
134134 __entry->size = size;
135135 __entry->flags = flags;
136+ __entry->dir = dir;
136137 __entry->attrs = attrs;
137138 ),
138139

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t