[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCHv2] tracing/events: Add bounce tracing to swiotbl



On Wed, 25 Sep 2013 13:56:49 -0400
Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:

> .. snip..
> > >+  TP_printk("dev_name: %s dma_mask=%llx dev_addr=%llx "
> > >+          "size=%zu swiotlb_force=%x",
> > >+          __get_str(dev_name),
> > >+          __entry->dma_mask,
> > >+          (unsigned long long)__entry->dev_addr,
> > >+          __entry->size,
> > >+          __entry->swiotlb_force)
> 
> Would it make sense to do something like this:
> 
>               __entry->swiotlb_force ? "swiotlb_force" : "")

I think that's fine. I do believe that the libtraceevents can parse the
"?:" syntax.

-- Steve

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.