add sample to semaphore
add sample to dump_stack