aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYiwei Zhang <zzyiwei@google.com>2020-03-02 15:50:44 -0800
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-03-03 17:52:41 -0500
commitbbd9d05618a6d608c72640b1d3d651a75913456a (patch)
tree4cb49a5be75bbef0851b82e8b7eaba4d63694936 /tools/perf/scripts/python/stackcollapse.py
parenttools/bootconfig: Show line and column in parse error (diff)
downloadlinux-bbd9d05618a6d608c72640b1d3d651a75913456a.tar.gz
linux-bbd9d05618a6d608c72640b1d3d651a75913456a.zip
gpu/trace: add a gpu total memory usage tracepoint
This change adds the below gpu memory tracepoint: gpu_mem/gpu_mem_total: track global or proc gpu memory total usages Per process tracking of total gpu memory usage in the gem layer is not appropriate and hard to implement with trivial overhead. So for the gfx device driver layer to track total gpu memory usage both globally and per process in an easy and uniform way is to integrate the tracepoint in this patch to the underlying varied implementations of gpu memory tracking system from vendors. Putting this tracepoint in the common trace events can not only help wean the gfx drivers off of debugfs but also greatly help the downstream Android gpu vendors because debugfs is to be deprecated in the upcoming Android release. Then the gpu memory tracking of both Android kernel and the upstream linux kernel can stay closely, which can benefit the whole kernel eco-system in the long term. Link: http://lkml.kernel.org/r/20200302235044.59163-1-zzyiwei@google.com Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Yiwei Zhang <zzyiwei@google.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
r> 2012-05-20[media] uvcvideo: Fix V4L2 button controls that share the same UVC controlLaurent Pinchart1-2/+5 2012-05-20[media] au0828: Add USB ID used by many donglesIsmael Luceno1-0/+2 2012-05-20[media] staging: media: go7007: Adlink MPG24 board issuesVolokh Konstantin6-164/+407 2012-05-20[media] rtl28xxu: add small sleep for rtl2830 demod attachAntti Palosaari1-0/+3 2012-05-20[media] rtl2830: prevent hw access when sleepingAntti Palosaari1-0/+12 2012-05-20[media] rtl2830: implement .get_frontend()Antti Palosaari1-0/+110 2012-05-20[media] rtl2830: implement .read_signal_strength()Antti Palosaari1-1/+22 2012-05-20[media] rtl2830: implement .read_ber()Antti Palosaari1-1/+13 2012-05-20[media] rtl2830: implement .read_snr()Antti Palosaari2-1/+42 2012-05-20[media] em28xx: disable LNA - PCTV QuatroStick nano (520e)Antti Palosaari1-0/+2 2012-05-20[media] drxk: fix GPIOsAntti Palosaari2-2/+4 2012-05-20[media] fc0013 ver. 0.2: introduction of get_rf_strength functionHans-Frieder Vogt1-1/+73 2012-05-20[media] fc0012 ver. 0.6: introduction of get_rf_strength functionHans-Frieder Vogt1-1/+71 2012-05-20[media] fc001x: tuner driver for FC0013Hans-Frieder Vogt5-0/+671 2012-05-20[media] fc001x: tuner driver for FC0012, version 0.5Hans-Frieder Vogt5-0/+492