pgsql: Debugging and profiling support for LLVM JIT provider.

Started by Andres Freundover 8 years ago3 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

Debugging and profiling support for LLVM JIT provider.

This currently requires patches to the LLVM codebase to be
effective (submitted upstream), the GUCs are available without those
patches however.

Author: Andres Freund
Discussion: /messages/by-id/20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/250bca7fc145b143d5e9aeeca66f0bb36cf4d5ef

Modified Files
--------------
src/backend/jit/jit.c | 2 ++
src/backend/jit/llvm/llvmjit.c | 36 ++++++++++++++++++++++++++++++++++++
src/backend/utils/misc/guc.c | 32 ++++++++++++++++++++++++++++++++
src/include/jit/jit.h | 2 ++
4 files changed, 72 insertions(+)

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andres Freund (#1)
Re: pgsql: Debugging and profiling support for LLVM JIT provider.

Andres Freund <andres@anarazel.de> writes:

Debugging and profiling support for LLVM JIT provider.

This commit seems to have added GUCs with no documentation. Just
because they're developer-oriented doesn't mean you don't have to
provide documentation.

regards, tom lane

#3Andres Freund
andres@anarazel.de
In reply to: Tom Lane (#2)
Re: pgsql: Debugging and profiling support for LLVM JIT provider.

Hi,

On 2018-03-22 18:20:22 -0400, Tom Lane wrote:

Andres Freund <andres@anarazel.de> writes:

Debugging and profiling support for LLVM JIT provider.

This commit seems to have added GUCs with no documentation. Just
because they're developer-oriented doesn't mean you don't have to
provide documentation.

There's a pending commit/patch that adds docs for all the added GUCs,
including these. It was too hard to split up the docs between all the
commits.

Greetings,

Andres Freund