freebsd-skq/usr.sbin/pmcstat
Fabien Thomas cb43ed2815 Only call flush in pipe mode.
It fixes a crash with a socket in top mode.

Ex:
# pmcstat -R 127.0.0.1:8080 -T -w1
then
# pmcstat -n1 -Sclock.prof -Slock.failed -O 127.0.0.1:8080

MFC after:	1 week
Sponsored by:	Stormshield
2018-01-17 16:55:35 +00:00
..
Makefile pmcstat(8): unbreak build with LDFLAGS+=-Wl,--as-needed 2017-11-03 00:12:32 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pmcpl_annotate_cg.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_annotate_cg.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_annotate.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_annotate.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_callgraph.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_callgraph.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_calltree.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_calltree.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_gprof.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_gprof.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcstat_log.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcstat_log.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcstat_top.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcstat.8
pmcstat.c Only call flush in pipe mode. 2018-01-17 16:55:35 +00:00
pmcstat.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00