Example #1
0
void
kstat_exit()
{
    if (!DYNAMO_OPTION(kstats))
        return;

    /* report merged process statistics */
    mutex_lock(&process_kstats_lock);
    print_file(process_kstats_outfile, "Process KSTATS:\n");
    kstat_report(process_kstats_outfile, &process_kstats);
    mutex_unlock(&process_kstats_lock);

    DELETE_LOCK(process_kstats_lock);

#ifndef DEBUG
    os_close(process_kstats_outfile);
#endif
}
Example #2
0
void
memquery_exit(void)
{
    DELETE_LOCK(memory_info_buf_lock);
    DELETE_LOCK(maps_iter_buf_lock);
}
Example #3
0
void
barrier_destroy(barrier_t *barrier)
{
    DELETE_LOCK(barrier->lock);
}
Example #4
0
void
kernel32_redir_exit_mem(void)
{
    DELETE_LOCK(localheap_lock);
}