Re: uart: add resume method

2012-12-23 Thread Andriy Gapon
on 23/12/2012 23:53 Garrett Cooper said the following: > On Sun, Dec 23, 2012 at 5:36 AM, Andriy Gapon wrote: >> >> Guys, >> >> do you think that the following change is useful/needed? >> >> I needed it with UART emulated in qemu, but I have no experience with real >> hardware. > > I assume

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Mark Johnston
On Dec 23, 2012 10:18 PM, "Garrett Cooper" wrote: > > On Sat, Dec 22, 2012 at 8:13 PM, Alfred Perlstein wrote: > > On 12/22/12 6:14 PM, Jan Beich wrote: > >> > >> Ed Maste writes: > >> > >>> When this knob is set standalone debug files for shared objects are > >>> built and installed in /usr/lib

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Alfred Perlstein
On 12/23/12 8:36 PM, Mark Johnston wrote: On Dec 23, 2012 10:55 PM, "Alfred Perlstein" > wrote: > > On 12/23/12 7:20 PM, Garrett Cooper wrote: >> >> On Sat, Dec 22, 2012 at 9:42 PM, Alfred Perlstein > wrote: >> >> ... >> lfred/freebsd/tmp/usr/bin/ld

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Mark Johnston
On Dec 23, 2012 10:55 PM, "Alfred Perlstein" wrote: > > On 12/23/12 7:20 PM, Garrett Cooper wrote: >> >> On Sat, Dec 22, 2012 at 9:42 PM, Alfred Perlstein wrote: >> >> ... >> lfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So: >> invalid SHT_GROUP entry >> /usr/obj/usr/home/alfred/freebsd/tmp/u

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Adrian Chadd
On 23 December 2012 19:55, Alfred Perlstein wrote: > I had "WITH_CTF=yes" in my /etc/make.conf so this appears to be fallout of > WITH_CTF=yes. Basically this seems incompatible with dtrace unless I figure > it out further. Oh god, please figure this mess out. I'll take you out for drinks if yo

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Alfred Perlstein
On 12/23/12 7:20 PM, Garrett Cooper wrote: On Sat, Dec 22, 2012 at 9:42 PM, Alfred Perlstein wrote: ... lfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So: invalid SHT_GROUP entry /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So: no group info for section .text.__vdso_g

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Garrett Cooper
On Sat, Dec 22, 2012 at 9:42 PM, Alfred Perlstein wrote: ... > Buildworld breaks with this for me using my patch, no idea what this all > means yet. Will look into it: > > exer.c -o nslexer.So > ctfconvert -L VERSION crypt_xdr.o > ctfconvert -L VERSION crypt_clnt.o > ctfconvert -L VERSION nspar

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Garrett Cooper
On Sat, Dec 22, 2012 at 8:13 PM, Alfred Perlstein wrote: > On 12/22/12 6:14 PM, Jan Beich wrote: >> >> Ed Maste writes: >> >>> When this knob is set standalone debug files for shared objects are >>> built and installed in /usr/lib/debug/.debug. GDB >>> searches this path for debug data. >> >> [.

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Garrett Cooper
On Sun, Dec 23, 2012 at 5:24 PM, Eitan Adler wrote: > On 23 December 2012 16:47, Garrett Cooper wrote: >> I would probably setup things in such a way that the old default >> is kept though because I'm sure that there's someone out there that's >> using it (even it it's not *the best* default

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Eitan Adler
On 23 December 2012 16:47, Garrett Cooper wrote: > I would probably setup things in such a way that the old default > is kept though because I'm sure that there's someone out there that's > using it (even it it's not *the best* default per how we prefix things > in ports). If the old defaults

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Alfred Perlstein
On 12/23/12 1:47 PM, Garrett Cooper wrote: On Sun, Dec 23, 2012 at 8:26 AM, Ed Maste wrote: On 22 December 2012 23:13, Alfred Perlstein wrote: I have a patch for this. I am building world to see what happens, if you want to try it, or comment on it, please let me know. Changes are: b

Re: uart: add resume method

2012-12-23 Thread Garrett Cooper
On Sun, Dec 23, 2012 at 5:36 AM, Andriy Gapon wrote: > > Guys, > > do you think that the following change is useful/needed? > > I needed it with UART emulated in qemu, but I have no experience with real > hardware. I assume that you suspended the emulator and the UART didn't come back to lif

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Garrett Cooper
On Sun, Dec 23, 2012 at 8:26 AM, Ed Maste wrote: > On 22 December 2012 23:13, Alfred Perlstein wrote: >> I have a patch for this. I am building world to see what happens, if you >> want to try it, or comment on it, please let me know. >> >> Changes are: >> base DEBUGDIR on LIBDIR for ports

Re: malloc+utrace, tracking memory leaks in a running program.

2012-12-23 Thread Alfred Perlstein
On 12/23/12 9:28 AM, Jason Evans wrote: On Dec 21, 2012, at 7:37 PM, Alfred Perlstein wrote: So the other day in an effort to debug a memory leak I decided to take a look at malloc+utrace(2) and decided to make a tool to debug where leaks are coming from. A few hours later I have: 1) a new v

Re: malloc+utrace, tracking memory leaks in a running program.

2012-12-23 Thread Jason Evans
On Dec 21, 2012, at 7:37 PM, Alfred Perlstein wrote: > So the other day in an effort to debug a memory leak I decided to take a look > at malloc+utrace(2) and decided to make a tool to debug where leaks are > coming from. > > A few hours later I have: > 1) a new version of utrace(2) (utrace2(2)

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Ed Maste
On 22 December 2012 23:13, Alfred Perlstein wrote: > I have a patch for this. I am building world to see what happens, if you > want to try it, or comment on it, please let me know. > > Changes are: > base DEBUGDIR on LIBDIR for ports > create intermediate directories for debug objs.

uart: add resume method

2012-12-23 Thread Andriy Gapon
Guys, do you think that the following change is useful/needed? I needed it with UART emulated in qemu, but I have no experience with real hardware. commit ff1cc9b33c34fec4f3d1d3cb675ec3f8cfbc96de Author: Andriy Gapon Date: Wed Dec 19 23:31:49 2012 +0200 uart: add resume method and enab

looking for someone to fix humanize_number (test cases included)

2012-12-23 Thread John-Mark Gurney
I'm looking for a person who is interested in fixing up humanize_number. The other day I copied some data from a 7.2-R box to a 9.1-stable box and did a du -shc and a du-skc to check the results... I noticed the -h run dropped from 11M to 10M, which I thought was weird... Then I looked at the re