[CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-09-03 Thread Garrett Cooper
Hello, I've been a bit busy working on porting over ATF from NetBSD, and one of the pieces that's currently not available in FreeBSD that's available in NetBSD is the ability to understand and compile multiple programs. In order to do this I had to refactor bsd.prog.mk (a lot). The attached

How to do benchmark test for my new kernel.

2012-09-03 Thread Junior White
hi all, I build a new kernel and install it, but don't known how to test the my new kernel's performance. I have read the Regressin and Performance Testing Guide in developer's handbook. But where is the test program is, and how do i invoke them? Gratitude to any words! Thank u!

Re: syslog(3) issues

2012-09-03 Thread Hooman Fazaeli
On 9/3/2012 4:05 AM, Attilio Rao wrote: Hi, I was trying to use syslog(3) in a port application that uses threading , having all of them at the LOG_CRIT level. What I see is that when the logging gets massive (1000 entries) I cannot find some items within the /var/log/messages (I know because I

Re: syslog(3) issues

2012-09-03 Thread Robert Watson
On Mon, 3 Sep 2012, Attilio Rao wrote: I was trying to use syslog(3) in a port application that uses threading , having all of them at the LOG_CRIT level. What I see is that when the logging gets massive (1000 entries) I cannot find some items within the /var/log/messages (I know because I

Re: How to do benchmark test for my new kernel.

2012-09-03 Thread Erik Cederstrand
Den 03/09/2012 kl. 09.25 skrev Junior White efi...@gmail.com: hi all, I build a new kernel and install it, but don't known how to test the my new kernel's performance. I have read the Regressin and Performance Testing Guide in developer's handbook. But where is the test program is, and

Re: freebsd.org git repositories and svn ids

2012-09-03 Thread Ryan Stone
On Sun, Sep 2, 2012 at 5:45 PM, Eitan Adler li...@eitanadler.com wrote: Why isn't git.freebsd.org a straight git svn clone ? AFAIK that isn't broken. Well, let's put it this way: I started a git svn clone of the src repository on Aug 28. It's still going. And I'm only creating a very small

Re: freebsd.org git repositories and svn ids

2012-09-03 Thread Eitan Adler
On 3 September 2012 10:19, Ryan Stone ryst...@gmail.com wrote: On Sun, Sep 2, 2012 at 5:45 PM, Eitan Adler li...@eitanadler.com wrote: Why isn't git.freebsd.org a straight git svn clone ? AFAIK that isn't broken. Well, let's put it this way: I started a git svn clone of the src repository

Re: freebsd.org git repositories and svn ids

2012-09-03 Thread Ryan Stone
On Mon, Sep 3, 2012 at 10:29 AM, Eitan Adler li...@eitanadler.com wrote: I've done the same and it only took me a few hours although the ports repo took a few days. Hm. Maybe you were working from a local, svnsync'ed repo? ___

Re: freebsd.org git repositories and svn ids

2012-09-03 Thread Eitan Adler
On 3 September 2012 11:12, Ryan Stone ryst...@gmail.com wrote: On Mon, Sep 3, 2012 at 10:29 AM, Eitan Adler li...@eitanadler.com wrote: I've done the same and it only took me a few hours although the ports repo took a few days. Hm. Maybe you were working from a local, svnsync'ed repo? nope:

Re: freebsd.org git repositories and svn ids

2012-09-03 Thread mdf
On Mon, Sep 3, 2012 at 7:29 AM, Eitan Adler li...@eitanadler.com wrote: On 3 September 2012 10:19, Ryan Stone ryst...@gmail.com wrote: On Sun, Sep 2, 2012 at 5:45 PM, Eitan Adler li...@eitanadler.com wrote: Why isn't git.freebsd.org a straight git svn clone ? AFAIK that isn't broken. Well,

Re: freebsd.org git repositories and svn ids

2012-09-03 Thread Eitan Adler
On 3 September 2012 12:01, m...@freebsd.org wrote: On Mon, Sep 3, 2012 at 7:29 AM, Eitan Adler li...@eitanadler.com wrote: On 3 September 2012 10:19, Ryan Stone ryst...@gmail.com wrote: On Sun, Sep 2, 2012 at 5:45 PM, Eitan Adler li...@eitanadler.com wrote: Why isn't git.freebsd.org a

Re: freebsd.org git repositories and svn ids

2012-09-03 Thread Eitan Adler
On 3 September 2012 12:09, Eitan Adler li...@eitanadler.com wrote: On 3 September 2012 12:01, m...@freebsd.org wrote: On Mon, Sep 3, 2012 at 7:29 AM, Eitan Adler li...@eitanadler.com wrote: On 3 September 2012 10:19, Ryan Stone ryst...@gmail.com wrote: On Sun, Sep 2, 2012 at 5:45 PM, Eitan

What happened to my /proc/curproc/file?

2012-09-03 Thread Sam Varshavchik
Am I the only one who's seeing this weirdness with procfs on 9.0-RELEASE-p3. Unless I'm overlooking something stupid, a process that rmdir(2)s a subdirectory of its current directory ends up with a broken /proc/curproc/file symlink: [mrsam@freebsd ~/stasher/stasher]$ cat t.c #include