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

From: Steven Rostedt
Date: Thu Dec 01 2016 - 11:58:00 EST


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

> Add tracepoints to dax_pmd_insert_mapping(), following the same logging
> conventions as the tracepoints in dax_iomap_pmd_fault().
>
> Here is an example PMD fault showing the new tracepoints:
>
> big-1504 [001] .... 326.960743: xfs_filemap_pmd_fault: dev 259:0 ino
> 0x1003
>
> big-1504 [001] .... 326.960753: dax_pmd_fault: dev 259:0 ino 0x1003
> shared WRITE|ALLOW_RETRY|KILLABLE|USER address 0x10505000 vm_start
> 0x10200000 vm_end 0x10700000 pgoff 0x200 max_pgoff 0x1400
>
> big-1504 [001] .... 326.960981: dax_pmd_insert_mapping: dev 259:0 ino
> 0x1003 shared write address 0x10505000 length 0x200000 pfn 0x100600 DEV|MAP
> radix_entry 0xc000e
>
> big-1504 [001] .... 326.960986: dax_pmd_fault_done: dev 259:0 ino 0x1003
> shared WRITE|ALLOW_RETRY|KILLABLE|USER address 0x10505000 vm_start
> 0x10200000 vm_end 0x10700000 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