lkml.org 
[lkml]   [2020]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Add gpu memory tracepoints
On Mon, 10 Feb 2020 17:16:31 -0800
zzyiwei@google.com wrote:

> From: Yiwei Zhang <zzyiwei@google.com>
>
> This change adds the below gpu memory tracepoint:
> gpu_mem/gpu_mem_total: track global or process gpu memory total counters
>
> Signed-off-by: Yiwei Zhang <zzyiwei@google.com>
> ---
> include/trace/events/gpu_mem.h | 64 ++++++++++++++++++++++++++++++++++
> kernel/trace/Kconfig | 3 ++
> kernel/trace/Makefile | 1 +
> kernel/trace/trace_gpu_mem.c | 13 +++++++
> 4 files changed, 81 insertions(+)
> create mode 100644 include/trace/events/gpu_mem.h
> create mode 100644 kernel/trace/trace_gpu_mem.c

What exactly is this, and why is it being put in the tracing
infrastructure code?

-- Steve

\
 
 \ /
  Last update: 2020-02-11 03:21    [W:0.124 / U:22.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site