Skip to content

Commit

Permalink
gpu/trace: Minor comment updates for gpu_mem_total tracepoint
Browse files Browse the repository at this point in the history
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/20200428220825.169606-1-zzyiwei@google.com

Signed-off-by: Yiwei Zhang <zzyiwei@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
  • Loading branch information
Yiwei Zhang authored and Steven Rostedt (VMware) committed May 7, 2020
1 parent 11f5efc commit 386c82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/trace/events/gpu_mem.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*
* @pid: Put 0 for global total, while positive pid for process total.
*
* @size: Virtual size of the allocation in bytes.
* @size: Size of the allocation in bytes.
*
*/
TRACE_EVENT(gpu_mem_total,
Expand Down

0 comments on commit 386c82a

Please sign in to comment.