[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4c2c6b24-aee1-495f-ab47-662e1e818f4b@linux.dev>
Date: Thu, 29 Aug 2024 10:24:52 -0400
From: Sean Anderson <sean.anderson@...ux.dev>
To: Christoph Hellwig <hch@....de>
Cc: Marek Szyprowski <m.szyprowski@...sung.com>,
Robin Murphy <robin.murphy@....com>, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] dma: Trace API
On 8/29/24 00:19, Christoph Hellwig wrote:
> I'd change the subject to
>
> dma-mapping: add tracing for dma-mapping API calls
OK
> On Mon, Aug 26, 2024 at 04:32:40PM -0400, Sean Anderson wrote:
>> When debugging drivers, it can often be useful to trace when memory gets
>> (un)mapped for DMA (and can be accessed by the device). Add some
>> tracepoints for this purpose.
>>
>> We use unsigned long long instead of phys_addr_t and dma_addr_t (and
>> similarly %llx instead of %pa) because libtraceevent can't handle
>> typedefs.
>
> and a __u64 would seem like the better type here.
libtraceevent can't handle typedefs, including u64.
> otherwise this looks fine to me. I can do the tweaks as I'll apply
> the patch if needed.
>
--Sean
Powered by blists - more mailing lists