freebsd-skq/usr.sbin/pmcstat
Fabien Thomas b44906e506 Change the way shutdown is handled for log file.
pmc_flush_logfile is now non-blocking and just ask the kernel
to shutdown the file. From that point, no more data is
accepted by the log thread and when the last buffer is flushed
the file is closed.

This will remove a deadlock between pmcstat asking for
flush while it cannot flush the pipe itself.

MFC after: 3 days
2010-03-08 19:58:00 +00:00
..
Makefile Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
pmcpl_annotate.c - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcpl_annotate.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcpl_callgraph.c Bug fixed: 2010-03-05 23:08:19 +00:00
pmcpl_callgraph.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcpl_calltree.c Bug fixed: 2010-03-05 23:08:19 +00:00
pmcpl_calltree.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcpl_gprof.c - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcpl_gprof.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcstat_log.c Change the way shutdown is handled for log file. 2010-03-08 19:58:00 +00:00
pmcstat_log.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcstat_top.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcstat.8 - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcstat.c Bug fixed: 2010-03-05 23:08:19 +00:00
pmcstat.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00