Using in-memory database (Was: Buildbot failure in Wildebeest Builder on whole buildset)
Mark Wielaard
mark@klomp.org
Sat Aug 28 18:36:36 GMT 2021
Hi Frank,
On Sat, Aug 28, 2021 at 10:41:30AM -0400, Frank Ch. Eigler via Elfutils-devel wrote:
> > At first I had hoped that using -d :memory: would work. But debuginfod
> > doesn't really support in memory databases like that. [...]
>
> Yes, that functionality was broken at the point you identifed. We could
> bring it back by hacking debuginfod's command line parser to map
> -d :memory:
> to -d file::memory:?cache=shared
>
> (https://sqlite.org/inmemorydb.html)
That is really cool and imho really useful for quick testing of debuginfod.
What do you think of the attached patch to implement this?
Thanks,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debuginfod-Turn-d-memory-into-d-file-memory-cache-sh.patch
Type: text/x-diff
Size: 4894 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/elfutils-devel/attachments/20210828/c3b11d26/attachment.bin>
More information about the Elfutils-devel
mailing list