From: Liam R. Howlett Date: Fri, 8 May 2020 15:29:55 +0000 (-0400) Subject: trace/events/mm_mt.h: Fix prototype for __vma_mt_szero X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=45957d09ba54b8f45e711bff26513300c1ad4ee5;p=users%2Fjedix%2Flinux-maple.git trace/events/mm_mt.h: Fix prototype for __vma_mt_szero Signed-off-by: Liam R. Howlett --- diff --git a/include/trace/events/mm_mt.h b/include/trace/events/mm_mt.h index a73468be8890..989386cdca11 100644 --- a/include/trace/events/mm_mt.h +++ b/include/trace/events/mm_mt.h @@ -39,28 +39,27 @@ TRACE_EVENT(__vma_mt_erase, ); TRACE_EVENT(__vma_mt_szero, - TP_PROTO(struct mm_struct *mm, struct vm_area_struct *vma), + TP_PROTO(struct mm_struct *mm, unsigned long start, + unsigned long end), - TP_ARGS(mm, vma), + TP_ARGS(mm, start, end), TP_STRUCT__entry( __field( struct mm_struct*, mm) - __field( struct vm_area_struct*, vma) - __field( unsigned long, vm_start) - __field( unsigned long, vm_end) + __field( unsigned long, start) + __field( unsigned long, end) ), TP_fast_assign( __entry->mm = mm; - __entry->vma = vma; - __entry->vm_start = vma->vm_start; - __entry->vm_end = vma->vm_end - 1; + __entry->start = start; + __entry->end = end - 1; ), - TP_printk("mt_mod %p, (%p), SNULL, %lu, %lu\n", - __entry->mm, __entry->vma, - (unsigned long) __entry->vm_start, - (unsigned long) __entry->vm_end + TP_printk("mt_mod %p, (NULL), SNULL, %lu, %lu\n", + __entry->mm, + (unsigned long) __entry->start, + (unsigned long) __entry->end ) );