aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorZhao Yan <[email protected]>2018-04-04 13:57:09 +0800
committerZhi Wang <[email protected]>2018-04-23 13:09:34 +0800
commit96bebe39b2f4533af14c509061cd2b551ca81e8d (patch)
treed023010854e1a90447ba0143e643c69d1ec3524d /tools/perf/scripts/python/call-graph-from-sql.py
parent89babe7cf18e4f93c6ba1e6abfe2e5aa5e4fc66c (diff)
drm/i915/gvt: scan non-privileged batch buffer for debug purpose
For perfomance purpose, scanning of non-privileged batch buffer is turned off by default. But for debugging purpose, it can be turned on via debugfs. After scanning, we submit the original non-privileged batch buffer into hardware, so that the scanning is only a peeking window of guest submitted commands and will not affect the execution results. v4: - refine debugfs print format&content (zhenyu wang) - print engine id instread of engine name to prevent potential memory leak in debugfs warning message. (zhenyu wang) v3: - change vgpu->scan_nonprivbb from type bool to u32, so it is able to selectively turn on/off scanning of non-privileged batch buffer on engine level. e.g. if vgpu->scan_nonprivbb=3, then it will scan non-privileged batch buffer on engine 0 and 1. - in debugfs interface to set vgpu->scan_nonprivbb, print warning message to warn user and explicitly tell state change in kernel log (zhenyu wang) v2: - rebase - update comments for start_gma_offset (henry) Signed-off-by: Zhao Yan <[email protected]> Reviewed-by: Zhenyu Wang <[email protected]> Signed-off-by: Zhi Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions