summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat/pmcstat_log.h
diff options
context:
space:
mode:
authorfabient <fabient@FreeBSD.org>2010-09-03 13:54:02 +0000
committerfabient <fabient@FreeBSD.org>2010-09-03 13:54:02 +0000
commit757a8d026a387961065e755dace6ecc97f0b12c3 (patch)
tree73bfd0bd3805598ab724fffe235798ea9c7bad8d /usr.sbin/pmcstat/pmcstat_log.h
parent9cb74fce5a363515c8f4250b344250d6f4d3c688 (diff)
downloadFreeBSD-src-757a8d026a387961065e755dace6ecc97f0b12c3.zip
FreeBSD-src-757a8d026a387961065e755dace6ecc97f0b12c3.tar.gz
When an asm location cannot be resolved to a function the cost
will be spread as small value and then filtered by the threshold. As a first step solution display the number of event that cannot be resolved as a valid function location. MFC after: 1week
Diffstat (limited to 'usr.sbin/pmcstat/pmcstat_log.h')
-rw-r--r--usr.sbin/pmcstat/pmcstat_log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pmcstat/pmcstat_log.h b/usr.sbin/pmcstat/pmcstat_log.h
index 8936fad..bfa925c 100644
--- a/usr.sbin/pmcstat/pmcstat_log.h
+++ b/usr.sbin/pmcstat/pmcstat_log.h
@@ -164,6 +164,7 @@ struct pmcstat_stats {
int ps_samples_skipped; /* #samples filtered out for any reason */
int ps_samples_unknown_offset; /* #samples of rank 0 not in a map */
int ps_samples_indeterminable; /* #samples in indeterminable images */
+ int ps_samples_unknown_function;/* #samples with unknown function at offset */
int ps_callchain_dubious_frames;/* #dubious frame pointers seen */
};
extern struct pmcstat_stats pmcstat_stats; /* statistics */
OpenPOWER on IntegriCloud