Re: [PATCH v2 6/6] dax: add tracepoints to dax_pmd_insert_mapping()

2016-12-01 Thread Steven Rostedt
On Thu, 1 Dec 2016 08:44:32 -0700 Ross Zwisler wrote: > Actually I think it may be ideal to stick it as the 2nd entry after 'dev'. > dev_t is: > > typedef __u32 __kernel_dev_t; > typedef __kernel_dev_tdev_t; > > So those two 32 bit values should combine into a single 64 bit spa

Re: [PATCH v2 6/6] dax: add tracepoints to dax_pmd_insert_mapping()

2016-12-01 Thread Ross Zwisler
On Thu, Dec 01, 2016 at 09:19:30AM -0500, Steven Rostedt wrote: > On Wed, 30 Nov 2016 16:45:33 -0700 > Ross Zwisler wrote: > > > diff --git a/include/linux/pfn_t.h b/include/linux/pfn_t.h > > index a3d90b9..033fc7b 100644 > > --- a/include/linux/pfn_t.h > > +++ b/include/linux/pfn_t.h > > @@ -15,

Re: [PATCH v2 6/6] dax: add tracepoints to dax_pmd_insert_mapping()

2016-12-01 Thread Steven Rostedt
On Wed, 30 Nov 2016 16:45:33 -0700 Ross Zwisler wrote: > diff --git a/include/linux/pfn_t.h b/include/linux/pfn_t.h > index a3d90b9..033fc7b 100644 > --- a/include/linux/pfn_t.h > +++ b/include/linux/pfn_t.h > @@ -15,6 +15,12 @@ > #define PFN_DEV (1ULL << (BITS_PER_LONG_LONG - 3)) > #define PFN

[PATCH v2 6/6] dax: add tracepoints to dax_pmd_insert_mapping()

2016-11-30 Thread Ross Zwisler
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.960