[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200428220825.169606-1-zzyiwei@google.com>
Date: Tue, 28 Apr 2020 15:08:25 -0700
From: zzyiwei@...gle.com
To: rostedt@...dmis.org, mingo@...hat.com, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org
Cc: prahladk@...gle.com, lpy@...gle.com, android-kernel@...gle.com,
Yiwei Zhang <zzyiwei@...gle.com>
Subject: [PATCH] gpu/trace: minor comment updates for gpu_mem_total tracepoint
From: Yiwei Zhang <zzyiwei@...gle.com>
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@...gle.com>
---
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
Powered by blists - more mailing lists