[icinga-checkins] icinga.org: icinga-core/next: adapt -pg example in base/Makefile. in for profiling

git at icinga.org git at icinga.org
Sun Feb 5 14:12:44 CET 2012


Module: icinga-core
Branch: next
Commit: 8f6b0436053460484605871392b4ab62a3edc50c
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=8f6b0436053460484605871392b4ab62a3edc50c

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Jan 27 19:54:29 2012 +0100

adapt -pg example in base/Makefile.in for profiling

refs #2289

---

 base/Makefile.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/base/Makefile.in b/base/Makefile.in
index 71309b4..197e4c0 100644
--- a/base/Makefile.in
+++ b/base/Makefile.in
@@ -12,7 +12,8 @@ CC=@CC@
 CFLAGS=@CFLAGS@ @DEFS@ -DNSCORE
 
 # Compiler flags for use with gprof
-#CFLAGS=-pg -DHAVE_CONFIG_H -DNSCORE
+# when running prof, make sure to remove drop_privilegues when running!
+#CFLAGS=@CFLAGS@ -pg @DEFS@ -DNSCORE
 
 # Compiler flags for use with Valgrind
 #CFLAGS=-O0 -g -DHAVE_CONFIG_H -DNSCORE





More information about the icinga-checkins mailing list