The Nr. non-backtrace samples is tracked in the daemon code with opd_stats[OPD_SAMPLES]. This value is incremented every time sfile_find() is called from opd_put_sample(). However, if we're processing samples for which the sfile has already been found, then trans->current will be set, and thus we will not call sfile_find again. In fact, there are several statistics counters managed in sfile_find that should probably be managed from opd_put_sample.
Log in to post a comment.