****** Last consumer may back USED buffer to first consumer on exit.
It may causes duplicate recording on high rate experiments.
bm_exec.c
int exec_remove(p_table) struct BMT_process *p_table;
You will find the line
if ((p->status == PS_consumer) && (p->next != p)){
should be
if ((p->status == PS_consumer) && (p->next != consumer) && (p->next !=p)){
If you have any question, please e-mail to
nomachi