From zorp@lists.balabit.hu Fri Sep 3 22:44:46 2004 From: zorp@lists.balabit.hu (Peter Meekel) Date: Fri, 3 Sep 2004 13:44:46 -0800 Subject: [zorp] Building Zorp with profiling in mind Message-ID: This is a multi-part message in MIME format. ------_=_NextPart_001_01C491FF.3AE57C03 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am looking for guidance in adding profiling support to the GPL version of Zorp. Ideally, I would like to add the ability to build zorp with or without profiling based on a build time option, but don't have access to the Makefile.ac files used to generate the distributed files. Any pointers on how to approach this are greatly appreciated. =20 Regards, =20 Peter Meekel Xambala, Inc. =20 ------_=_NextPart_001_01C491FF.3AE57C03 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I am looking for guidance in adding profiling support = to the GPL version of Zorp.  Ideally, I would like to add the ability to = build zorp with or without profiling based on a build time option, but = don’t have access to the Makefile.ac files used to generate the distributed = files.  Any pointers on how to approach this are greatly = appreciated.

 

Regards,

 

Peter Meekel

Xambala, Inc.

 

------_=_NextPart_001_01C491FF.3AE57C03-- From zorp@lists.balabit.hu Mon Sep 6 15:58:31 2004 From: zorp@lists.balabit.hu (Balazs Scheidler) Date: Mon, 06 Sep 2004 16:58:31 +0200 Subject: [zorp] Building Zorp with profiling in mind In-Reply-To: References: Message-ID: <1094482711.16041.4.camel@bzorp.balabit> On Fri, 2004-09-03 at 23:44, Peter Meekel wrote: > I am looking for guidance in adding profiling support to the GPL > version of Zorp. Ideally, I would like to add the ability to build > zorp with or without profiling based on a build time option, but don˙t > have access to the Makefile.ac files used to generate the distributed > files. Any pointers on how to approach this are greatly appreciated. you can do that by specifying "-pg" in CFLAGS prior you run the configure script. you could also add --enable-debug option to include symbol information as well. (btw: oprofile does not need specially compiled binaries) -- Bazsi