Re: Profiled libraries on freebsd-current

2022-04-29 Thread Steve Kargl
On Thu, Apr 28, 2022 at 10:56:48PM -0700, Steve Kargl wrote: > If one looks at src.conf(5), one finds > >WITH_PROFILE > Build profiled libraries for use with gprof(8). This option is > deprecated and is not present in FreeBSD 14. > > I assume that the *_p.a libraries will n

Re: Chasing OOM Issues - good sysctl metrics to use?

2022-04-29 Thread Pete Wright
On 4/23/22 19:20, Pete Wright wrote: The developers handbook has a section debugging deadlocks that he referenced in a response to another report (on freebsd-hackers). https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/#kerneldebug-deadlocks d'oh - thanks for the correcti

Re: Chasing OOM Issues - good sysctl metrics to use?

2022-04-29 Thread Mark Millard
On 2022-Apr-29, at 11:08, Pete Wright wrote: > On 4/23/22 19:20, Pete Wright wrote: >> >>> The developers handbook has a section debugging deadlocks that he >>> referenced in a response to another report (on freebsd-hackers). >>> >>> https://docs.freebsd.org/en/books/developers-handbook/kerneld

Re: Profiled libraries on freebsd-current

2022-04-29 Thread Mark Millard
https://cgit.freebsd.org/src/commit/?id=175841285e289edebb6603da39f02549521ce950 says the following (later), but first I quote the part tbat dirves the interpretation: QUOTE Clang's -pg support and mcount() remain, so building with -pg can still be used on code that the user builds; we just do not

Re: Profiled libraries on freebsd-current

2022-04-29 Thread Mark Millard
On 2022-Apr-29, at 12:38, Mark Millard wrote: > https://cgit.freebsd.org/src/commit/?id=175841285e289edebb6603da39f02549521ce950 > says the following (later), but first I quote the part tbat dirves the > interpretation: > > QUOTE > Clang's -pg support and mcount() remain, so building with -pg ca

Re: Profiled libraries on freebsd-current

2022-04-29 Thread Steve Kargl
On Fri, Apr 29, 2022 at 12:51:12PM -0700, Mark Millard wrote: > On 2022-Apr-29, at 12:38, Mark Millard wrote: > > > https://cgit.freebsd.org/src/commit/?id=175841285e289edebb6603da39f02549521ce950 > > says the following (later), but first I quote the part tbat dirves the > > interpretation: > >

Re: Chasing OOM Issues - good sysctl metrics to use?

2022-04-29 Thread Pete Wright
On 4/29/22 11:38, Mark Millard wrote: On 2022-Apr-29, at 11:08, Pete Wright wrote: On 4/23/22 19:20, Pete Wright wrote: The developers handbook has a section debugging deadlocks that he referenced in a response to another report (on freebsd-hackers). https://docs.freebsd.org/en/books/deve

Re: Chasing OOM Issues - good sysctl metrics to use?

2022-04-29 Thread Mark Millard
On 2022-Apr-29, at 13:41, Pete Wright wrote: > > On 4/29/22 11:38, Mark Millard wrote: >> On 2022-Apr-29, at 11:08, Pete Wright wrote: >> >>> On 4/23/22 19:20, Pete Wright wrote: > The developers handbook has a section debugging deadlocks that he > referenced in a response to another re

Re: Profiled libraries on freebsd-current

2022-04-29 Thread Mark Millard
On 2022-Apr-29, at 13:12, Steve Kargl wrote: > On Fri, Apr 29, 2022 at 12:51:12PM -0700, Mark Millard wrote: >> On 2022-Apr-29, at 12:38, Mark Millard wrote: >> >>> https://cgit.freebsd.org/src/commit/?id=175841285e289edebb6603da39f02549521ce950 >>> says the following (later), but first I quote

Re: Profiled libraries on freebsd-current

2022-04-29 Thread Steve Kargl
On Fri, Apr 29, 2022 at 02:54:17PM -0700, Mark Millard wrote: > On 2022-Apr-29, at 13:12, Steve Kargl > wrote: > > > The evenual absence of libc_p.a and libm_p.a will break GCC's > > -pg option in GCC. One will then need to know how to change the > > GCC source or install symlinks for to point