Murilo Opsfelder Araujo <muriloo@xxxxxxxxxxxxx> writes: > On Thu, Dec 20, 2018 at 07:23:50PM +1100, Alexey Kardashevskiy wrote: ... >> diff --git a/drivers/vfio/pci/trace.h b/drivers/vfio/pci/trace.h >> new file mode 100644 >> index 0000000..b80d2d3 >> --- /dev/null >> +++ b/drivers/vfio/pci/trace.h ... >> +TRACE_EVENT(vfio_pci_npu2_mmap, >> + TP_PROTO(struct pci_dev *pdev, unsigned long hpa, unsigned long ua, >> + unsigned long size, int ret), >> + TP_ARGS(pdev, hpa, ua, size, ret), >> + >> + TP_STRUCT__entry( >> + __field(const char *, name) >> + __field(unsigned long, hpa) >> + __field(unsigned long, ua) >> + __field(unsigned long, size) >> + __field(int, ret) >> + ), >> + >> + TP_fast_assign( >> + __entry->name = dev_name(&pdev->dev), >> + __entry->hpa = hpa; >> + __entry->ua = ua; >> + __entry->size = size; >> + __entry->ret = ret; >> + ), >> + >> + TP_printk("%s: %lx -> %lx size=%lx ret=%d", __entry->name, __entry->hpa, >> + __entry->ua, __entry->size, __entry->ret) >> +); >> + >> +#endif /* _TRACE_SUBSYS_H */ > > I think it's too late but this line I guess should read: > > #endif /* _TRACE_VFIO_PCI_H */ Thanks I'll fix it up. cheers