diff options
author | Francois Dugast <francois.dugast@intel.com> | 2025-03-12 10:27:49 +0100 |
---|---|---|
committer | Francois Dugast <francois.dugast@intel.com> | 2025-03-13 10:05:45 +0100 |
commit | 80bcbdfc8cf51b41fde0a2466a83e057c5a1bf3a (patch) | |
tree | 9353666154be9f2612b92df75bd3b8a6ebc6e604 /net/unix/af_unix.c | |
parent | 459664c98da853527c757edb7e6e529a24fff03f (diff) |
drm/xe/svm: Add stats for SVM page faults
Add a new entry in stats to for svm page faults. If CONFIG_DEBUG_FS is
enabled, the count can be viewed with per GT stat debugfs file.
This is similar to what is already in place for vma page faults.
Example output:
cat /sys/kernel/debug/dri/0/gt0/stats
svm_pagefault_count: 6
tlb_inval_count: 78
vma_pagefault_count: 0
vma_pagefault_kb: 0
v2: Fix build with CONFIG_DRM_GPUSVM disabled
v3: Update argument in kernel doc
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250312092749.164232-1-francois.dugast@intel.com
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions