Re: [PATCH v3 4/5] dax: add tracepoints to dax_pmd_load_hole()

From: Steven Rostedt
Date: Thu Dec 01 2016 - 11:56:17 EST


On Thu, 1 Dec 2016 09:37:50 -0700
Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx> wrote:

> Add tracepoints to dax_pmd_load_hole(), following the same logging
> conventions as the tracepoints in dax_iomap_pmd_fault().
>
> Here is an example PMD fault showing the new tracepoints:
>
> read_big-1478 [004] .... 238.242188: xfs_filemap_pmd_fault: dev 259:0
> ino 0x1003
>
> read_big-1478 [004] .... 238.242191: dax_pmd_fault: dev 259:0 ino 0x1003
> shared ALLOW_RETRY|KILLABLE|USER address 0x10400000 vm_start 0x10200000
> vm_end 0x10600000 pgoff 0x200 max_pgoff 0x1400
>
> read_big-1478 [004] .... 238.242390: dax_pmd_load_hole: dev 259:0 ino
> 0x1003 shared address 0x10400000 zero_page ffffea0002c20000 radix_entry
> 0x1e
>
> read_big-1478 [004] .... 238.242392: dax_pmd_fault_done: dev 259:0 ino
> 0x1003 shared ALLOW_RETRY|KILLABLE|USER address 0x10400000 vm_start
> 0x10200000 vm_end 0x10600000 pgoff 0x200 max_pgoff 0x1400 NOPAGE
>
> Signed-off-by: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>
> Reviewed-by: Jan Kara <jack@xxxxxxx>
> ---

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve