[Xapian-tickets] [Xapian] #390: Implement LD_PRELOAD library to log IO for profiling
Xapian
nobody at xapian.org
Sun Apr 14 23:12:26 BST 2019
#390: Implement LD_PRELOAD library to log IO for profiling
-------------------------+----------------------------------
Reporter: richard | Owner: tanmay_sachan
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.4.x
Component: Other | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+----------------------------------
Comment (by olly):
[3c3c09048e134a82c7e0e16eee0dfc71e2eb6615] implements this and works for
x86-64 Linux. It needs some work on portability (I think we probably need
a configure script to detect things like whether we need to use `off64_t`
in `pread64()` and `pwrite64()`).
Tanmay also pointed out elsewhere that a dtrace script could log the
required data (and quite a lot of platforms have dtrace support).
--
Ticket URL: <https://trac.xapian.org/ticket/390#comment:8>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list