[netperf-dev] netperf2 commit notice r298 - in trunk: . src

raj at netperf.org raj at netperf.org
Tue Apr 7 14:49:22 PDT 2009


Author: raj
Date: 2009-04-07 14:49:21 -0700 (Tue, 07 Apr 2009)
New Revision: 298

Modified:
   trunk/AUTHORS
   trunk/src/netlib.c
Log:
profiling cleanup

Modified: trunk/AUTHORS
===================================================================
--- trunk/AUTHORS	2009-03-25 22:31:14 UTC (rev 297)
+++ trunk/AUTHORS	2009-04-07 21:49:21 UTC (rev 298)
@@ -228,3 +228,6 @@
 
 Gisle Vanem
 MingW cnd MSDOS (djgpp) leanups.
+
+Marcel Shuldman
+Changes to make netperf more profiling friendly
\ No newline at end of file

Modified: trunk/src/netlib.c
===================================================================
--- trunk/src/netlib.c	2009-03-25 22:31:14 UTC (rev 297)
+++ trunk/src/netlib.c	2009-04-07 21:49:21 UTC (rev 298)
@@ -894,7 +894,13 @@
 
 
   for (i = 1; i <= NSIG; i++) {
-    if (i != SIGALRM) {
+    switch (i) {
+    case SIGALRM:
+    case SIGPROF:
+    case SIGSTOP:
+    case SIGKILL:
+      break;
+    default:
       if (sigaction(i,&action,NULL) != 0) {
         fprintf(where,
                 "Could not install signal catcher for sig %d, errno %d\n",



More information about the netperf-dev mailing list