Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1534214
| From | Ross Zwisler <ross.zwisler@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 3/6] dax: add tracepoint infrastructure, PMD tracing |
| Date | 2016-12-01 16:40 +0100 |
| Message-ID | <sJBCO-5Lz-39@gated-at.bofh.it> (permalink) |
| References | <sJmNr-4n7-9@gated-at.bofh.it> <sJmNr-4n7-11@gated-at.bofh.it> <sJAnn-4Xx-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Dec 01, 2016 at 09:16:28AM -0500, Steven Rostedt wrote: > On Wed, 30 Nov 2016 16:45:30 -0700 > Ross Zwisler <ross.zwisler@linux.intel.com> wrote: > > > > --- /dev/null > > +++ b/include/trace/events/fs_dax.h > > @@ -0,0 +1,68 @@ > > +#undef TRACE_SYSTEM > > +#define TRACE_SYSTEM fs_dax > > + > > +#if !defined(_TRACE_FS_DAX_H) || defined(TRACE_HEADER_MULTI_READ) > > +#define _TRACE_FS_DAX_H > > + > > +#include <linux/tracepoint.h> > > + > > +DECLARE_EVENT_CLASS(dax_pmd_fault_class, > > + TP_PROTO(struct inode *inode, struct vm_area_struct *vma, > > + unsigned long address, unsigned int flags, pgoff_t pgoff, > > + pgoff_t max_pgoff, int result), > > + TP_ARGS(inode, vma, address, flags, pgoff, max_pgoff, result), > > + TP_STRUCT__entry( > > + __field(dev_t, dev) > > + __field(unsigned long, ino) > > + __field(unsigned long, vm_start) > > + __field(unsigned long, vm_end) > > + __field(unsigned long, vm_flags) > > + __field(unsigned long, address) > > + __field(unsigned int, flags) > > + __field(pgoff_t, pgoff) > > + __field(pgoff_t, max_pgoff) > > + __field(int, result) > > For better compaction, I would put flags and result together, as they > are both ints. Otherwise, you'll probably have 4 empty bytes after > flags. Sure, will do for v3.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 3/6] dax: add tracepoint infrastructure, PMD tracing Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-12-01 00:50 +0100
Re: [PATCH v2 3/6] dax: add tracepoint infrastructure, PMD tracing Jan Kara <jack@suse.cz> - 2016-12-01 09:20 +0100
Re: [PATCH v2 3/6] dax: add tracepoint infrastructure, PMD tracing Steven Rostedt <rostedt@goodmis.org> - 2016-12-01 15:20 +0100
Re: [PATCH v2 3/6] dax: add tracepoint infrastructure, PMD tracing Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-12-01 16:40 +0100
csiph-web