Skip to content

Commit 386c82a

Browse files
Yiwei Zhangrostedt
authored andcommitted
gpu/trace: Minor comment updates for gpu_mem_total tracepoint
This change updates the improper comment for the 'size' attribute in the tracepoint definition. Most gfx drivers pre-fault in physical pages instead of making virtual allocations. So we drop the 'Virtual' keyword here and leave this to the implementations. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Yiwei Zhang <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 11f5efc commit 386c82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/trace/events/gpu_mem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* @pid: Put 0 for global total, while positive pid for process total.
2626
*
27-
* @size: Virtual size of the allocation in bytes.
27+
* @size: Size of the allocation in bytes.
2828
*
2929
*/
3030
TRACE_EVENT(gpu_mem_total,

0 commit comments

Comments
 (0)