[Pdbg] [PATCH 3/6] htm: Use splice() to copy dump

Michael Neuling mikey at neuling.org
Thu Jul 12 13:59:49 AEST 2018


On Thu, 2018-07-12 at 13:52 +1000, Alistair Popple wrote:
> Out of interest I hacked up a test using sendfile. Results on my laptop were
> about the same as using the splice method from this patch. Arguably using
> sendfile is cleaner as you don't need the pipe but this patch is perfectly
> readable so I've merged it for now. Thanks Mikey.

Thanks.

I think in the end we get limited by reading the trace from the CI mapped
memory. So there is only so far we can optimise it.

Mikey


More information about the Pdbg mailing list