[project @ 2000-04-05 15:21:28 by simonmar]
authorsimonmar <unknown>
Wed, 5 Apr 2000 15:21:28 +0000 (15:21 +0000)
committersimonmar <unknown>
Wed, 5 Apr 2000 15:21:28 +0000 (15:21 +0000)
Ignore system CCSs in the generated XML profile, since the browser
isn't doing this yet.

ghc/rts/Profiling.c

index f9f50b1..38d620d 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Profiling.c,v 1.17 2000/04/03 15:54:49 simonmar Exp $
+ * $Id: Profiling.c,v 1.18 2000/04/05 15:21:28 simonmar Exp $
  *
  * (c) The GHC Team, 1998-2000
  *
@@ -816,6 +816,8 @@ reportCCS_XML(CostCentreStack *ccs)
   CostCentre *cc;
   IndexTable *i;
 
+  if (ccs_to_ignore(ccs)) { return; }
+
   cc = ccs->cc;
   
   fprintf(prof_file, " 1 %d %lu %lu %lu",