465dadb59b
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 |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.depend | ||
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 | ||
pmcpl_gprof.h | ||
pmcstat_log.c | ||
pmcstat_log.h | ||
pmcstat_top.h | ||
pmcstat.8 | ||
pmcstat.c | ||
pmcstat.h |