Call callback with an extra boolean indicating whether the sample read was

2007-10-20  Soren Sandmann <sandmann@daimi.au.dk>

       * collector.c (on_read): Call callback with an extra boolean
       indicating whether the sample read was the first one

       * collector.c (add_trace_to_stash): Allocate addresses on the
       stack if possible.

       * sysprof.c (on_new_sample): Only call update_sensitivity() on the
       first sample.

       * stackstash.c (stack_stash_add_trace): Move match to front


svn path=/trunk/; revision=373
This commit is contained in:
Soren Sandmann
2007-10-20 23:51:35 +00:00
committed by Søren Sandmann Pedersen
parent f1cbdbf27c
commit 476e6f0c1b
5 changed files with 42 additions and 10 deletions

View File

@ -21,7 +21,8 @@
typedef struct Collector Collector;
typedef void (* CollectorFunc) (gpointer data);
typedef void (* CollectorFunc) (gboolean first_sample,
gpointer data);
#define COLLECTOR_ERROR collector_error_quark ()