Skip to contentSkip to conversation

gpu/trace: minor comment updates for gpu_mem_total tracepoint

PATCH New [email protected] 1 participant 1 message Apr 28, 2020 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/trace/events/gpu_mem.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/trace/events/gpu_mem.h +1 -1
index 1897822a9150..26d871f96e94 100644
@@ -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,
Signature · 1 line
2.26.2.526.g744177e7f7-goog