Message ID | 20240117221223.18540-5-oak.zeng@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | XeKmd basic SVM support | expand |
diff --git a/drivers/gpu/drm/xe/xe_trace.h b/drivers/gpu/drm/xe/xe_trace.h index 95163c303f3e..63867c0fa848 100644 --- a/drivers/gpu/drm/xe/xe_trace.h +++ b/drivers/gpu/drm/xe/xe_trace.h @@ -467,15 +467,17 @@ DECLARE_EVENT_CLASS(xe_vm, TP_STRUCT__entry( __field(u64, vm) __field(u32, asid) + __field(u64, svm) ), TP_fast_assign( __entry->vm = (unsigned long)vm; __entry->asid = vm->usm.asid; + __entry->svm = (unsigned long)vm->svm; ), - TP_printk("vm=0x%016llx, asid=0x%05x", __entry->vm, - __entry->asid) + TP_printk("vm=0x%016llx, asid=0x%05x, svm=0x%016llx", __entry->vm, + __entry->asid, __entry->svm) ); DEFINE_EVENT(xe_vm, xe_vm_kill,
xe_vm tracepoint is extended to also print svm. Signed-off-by: Oak Zeng <oak.zeng@intel.com> Cc: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Cc: Thomas Hellström <thomas.hellstrom@intel.com> Cc: Brian Welty <brian.welty@intel.com> --- drivers/gpu/drm/xe/xe_trace.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)