freebsd-dev/sys/dev/hwpmc
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
..
hwpmc_amd.c
hwpmc_amd.h
hwpmc_arm.c Intel XScale hwpmc(4) support. 2009-12-23 23:16:54 +00:00
hwpmc_core.c * Support the L1D_CACHE_LD event on Core2 processors. 2009-12-26 14:39:23 +00:00
hwpmc_core.h
hwpmc_ia64.c
hwpmc_intel.c Recognize Intel CPUs with Family 0x6, Models 0x1E and 0x1F. 2009-12-18 15:01:46 +00:00
hwpmc_logging.c Change the way shutdown is handled for log file. 2010-03-08 19:58:00 +00:00
hwpmc_mips24k.c Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor. 2010-03-03 15:05:58 +00:00
hwpmc_mips24k.h Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor. 2010-03-03 15:05:58 +00:00
hwpmc_mips.c Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor. 2010-03-03 15:05:58 +00:00
hwpmc_mod.c Use VFS_{LOCK,UNLOCK}_GIANT() around the call to vrele(). 2009-12-29 02:35:50 +00:00
hwpmc_pentium.c
hwpmc_pentium.h
hwpmc_piv.c
hwpmc_piv.h
hwpmc_powerpc.c
hwpmc_ppro.c
hwpmc_ppro.h
hwpmc_sparc64.c
hwpmc_tsc.c
hwpmc_tsc.h
hwpmc_x86.c Use a better check for a valid kernel stack address when capturing 2009-12-03 14:59:42 +00:00
hwpmc_xscale.c Intel XScale hwpmc(4) support. 2009-12-23 23:16:54 +00:00
hwpmc_xscale.h Intel XScale hwpmc(4) support. 2009-12-23 23:16:54 +00:00
pmc_events.h Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor. 2010-03-03 15:05:58 +00:00