[sysprof] Remove stash from collector
- From: Søren Sandmann Pedersen <ssp src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sysprof] Remove stash from collector
- Date: Mon, 14 Sep 2009 09:09:12 +0000 (UTC)
commit 23147e1141b297770348234c3c877728f039c407
Author: Søren Sandmann Pedersen <ssp redhat com>
Date: Tue Sep 8 02:30:16 2009 -0400
Remove stash from collector
collector.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/collector.c b/collector.c
index 56b181d..0dba01c 100644
--- a/collector.c
+++ b/collector.c
@@ -122,7 +122,6 @@ struct Collector
CollectorFunc callback;
gpointer data;
- StackStash * stash;
tracker_t * tracker;
GTimeVal latest_reset;
@@ -402,12 +401,6 @@ collector_reset (Collector *collector)
restart = TRUE;
}
- if (collector->stash)
- {
- stack_stash_unref (collector->stash);
- collector->stash = NULL;
- }
-
if (collector->tracker)
{
tracker_free (collector->tracker);
@@ -431,7 +424,6 @@ collector_new (CollectorFunc callback,
collector->callback = callback;
collector->data = data;
- collector->stash = NULL;
collector->tracker = NULL;
collector_reset (collector);
@@ -549,13 +541,9 @@ collector_start (Collector *collector,
GList *list;
int i;
- if (!collector->stash)
- collector->stash = stack_stash_new (NULL);
if (!collector->tracker)
collector->tracker = tracker_new ();
- g_assert (collector->stash);
-
for (i = 0; i < n_cpus; ++i)
{
counter_t *counter = counter_new (collector, i);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]