[PATCH] gpu/trace: minor comment updates for gpu_mem_total tracepoint

From: zzyiwei
Date: Tue Apr 28 2020 - 18:08:35 EST


From: Yiwei Zhang <zzyiwei@xxxxxxxxxx>

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.

Signed-off-by: Yiwei Zhang <zzyiwei@xxxxxxxxxx>
---
include/trace/events/gpu_mem.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/trace/events/gpu_mem.h b/include/trace/events/gpu_mem.h
index 1897822a9150..26d871f96e94 100644
--- a/include/trace/events/gpu_mem.h
+++ b/include/trace/events/gpu_mem.h
@@ -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,
--
2.26.2.526.g744177e7f7-goog