2020-04-28 22:10:38

by Yiwei Zhang

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

From: Yiwei Zhang <[email protected]>

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 <[email protected]>
---
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