Обсуждение: dtrace/systemtap/USDT support
Could we please build the Debian packages of PostgreSQL with --enable-dtrace, using systemtap-sdt-dev? Maybe that wasn't very useful in the past, but at least since kernel 4.8 you can use that for tracing with perf. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Re: Peter Eisentraut 2018-09-06 <5a925ee4-d26b-94fc-4a34-0ad24ed7d103@2ndquadrant.com> > Could we please build the Debian packages of PostgreSQL with > --enable-dtrace, using systemtap-sdt-dev? Maybe that wasn't very useful > in the past, but at least since kernel 4.8 you can use that for tracing > with perf. I was pondering about that earlier: https://www.postgresql.org/message-id/20180512064611.GC19285@msg.df7cb.de Do we want to enable that [ ] on all architectures [ ] on all distributions [ ] for all PG major versions ? Christoph
On 06/09/2018 18:36, Christoph Berg wrote: > Re: Peter Eisentraut 2018-09-06 <5a925ee4-d26b-94fc-4a34-0ad24ed7d103@2ndquadrant.com> >> Could we please build the Debian packages of PostgreSQL with >> --enable-dtrace, using systemtap-sdt-dev? Maybe that wasn't very useful >> in the past, but at least since kernel 4.8 you can use that for tracing >> with perf. > > I was pondering about that earlier: > https://www.postgresql.org/message-id/20180512064611.GC19285@msg.df7cb.de Hmm, that argument doesn't seem very specific. FWIW, the PGDG CentOS packages have it enabled. > Do we want to enable that > [ ] on all architectures > [ ] on all distributions > [ ] for all PG major versions > ? I don't see why not all of them, unless there is one where it specifically doesn't work. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Re: Peter Eisentraut 2018-09-11 <37a1b781-b484-e56c-a799-016aea19df1b@2ndquadrant.com> > FWIW, the PGDG CentOS packages have it enabled. Thanks, that's encouraging. > > Do we want to enable that > > [ ] on all architectures > > [ ] on all distributions > > [ ] for all PG major versions > > ? > > I don't see why not all of them, unless there is one where it > specifically doesn't work. Aye, will do in the next round of minors. Christoph