freebsd-dev/usr.sbin/pmcstat
Jonathan T. Looney 465dadb59b Support a wider history counter in pmcstat(8) gmon output
pmcstat(8) contains an option to output sampling data in a gmon format
compatible with gprof(1). Currently, it uses the default histcounter,
which is an (unsigned short). With large sets of sampling data, it
is possible to overflow the maximum value provided by an (unsigned
short).

This change adds the -e argument to pmcstat. If -e and -g are both
specified, pmcstat will use a histcounter type of uint64_t.

Differential Revision:	https://reviews.freebsd.org/D4151
Reviewed by:	jhb, bjk
Approved by:	gnn (mentor)
MFC after:	1 month
Sponsored by:	Juniper Networks
2015-11-18 14:52:01 +00:00
..
Makefile Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
pmcpl_annotate_cg.c
pmcpl_annotate_cg.h
pmcpl_annotate.c
pmcpl_annotate.h
pmcpl_callgraph.c
pmcpl_callgraph.h
pmcpl_calltree.c
pmcpl_calltree.h
pmcpl_gprof.c Support a wider history counter in pmcstat(8) gmon output 2015-11-18 14:52:01 +00:00
pmcpl_gprof.h
pmcstat_log.c Fix for r288176 changes related to debug symbols move. 2015-10-08 09:46:35 +00:00
pmcstat_log.h
pmcstat_top.h
pmcstat.8 Support a wider history counter in pmcstat(8) gmon output 2015-11-18 14:52:01 +00:00
pmcstat.c Support a wider history counter in pmcstat(8) gmon output 2015-11-18 14:52:01 +00:00
pmcstat.h Support a wider history counter in pmcstat(8) gmon output 2015-11-18 14:52:01 +00:00