Re: [PATCH v3 2/2] mm: mmap: add trace point of vm_unmapped_area

From: Kirill A. Shutemov
Date: Mon Mar 30 2020 - 12:33:37 EST


On Sun, Mar 29, 2020 at 09:08:58AM -0700, Matthew Wilcox wrote:
> On Fri, Mar 20, 2020 at 02:58:23PM +0900, Jaewon Kim wrote:
> > + TP_printk("addr=%lx err=%ld total_vm=0x%lx flags=0x%lx len=0x%lx lo=0x%lx hi=0x%lx mask=0x%lx ofs=0x%lx\n",
>
> Shouldn't addr be printed as 0x%lx?

%#lx should do the trick.

--
Kirill A. Shutemov