From 1023a232739fdf50420ac3d43dff1b4f6ca90f66 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 5 Apr 2000 15:21:28 +0000 Subject: [PATCH] [project @ 2000-04-05 15:21:28 by simonmar] Ignore system CCSs in the generated XML profile, since the browser isn't doing this yet. --- ghc/rts/Profiling.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc/rts/Profiling.c b/ghc/rts/Profiling.c index f9f50b1..38d620d 100644 --- a/ghc/rts/Profiling.c +++ b/ghc/rts/Profiling.c @@ -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", -- 1.7.10.4