summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat/pmcpl_callgraph.c
diff options
context:
space:
mode:
authorfabient <fabient@FreeBSD.org>2010-04-02 13:34:28 +0000
committerfabient <fabient@FreeBSD.org>2010-04-02 13:34:28 +0000
commite8a282c847cf81961f24d89e4a4d2f6116aa0bd9 (patch)
tree3e7b7bbc739d1bb318576410ce367875ee57df3f /usr.sbin/pmcstat/pmcpl_callgraph.c
parent85d5b2855f1b8db1aa9a2dd7945b711399a111b7 (diff)
downloadFreeBSD-src-e8a282c847cf81961f24d89e4a4d2f6116aa0bd9.zip
FreeBSD-src-e8a282c847cf81961f24d89e4a4d2f6116aa0bd9.tar.gz
Improve "top" header by:
- Display sample received per PMCs (or merged PMCs). - Display percentage vs all samples
Diffstat (limited to 'usr.sbin/pmcstat/pmcpl_callgraph.c')
-rw-r--r--usr.sbin/pmcstat/pmcpl_callgraph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pmcstat/pmcpl_callgraph.c b/usr.sbin/pmcstat/pmcpl_callgraph.c
index 84e2819..53d342b 100644
--- a/usr.sbin/pmcstat/pmcpl_callgraph.c
+++ b/usr.sbin/pmcstat/pmcpl_callgraph.c
@@ -341,6 +341,7 @@ pmcpl_cg_process(struct pmcstat_process *pp, struct pmcstat_pmcrecord *pmcr,
parent = pmcstat_cgnode_hash_lookup_pc(pp, pmcid, pc, usermode);
if (parent == NULL) {
pmcstat_stats.ps_callchain_dubious_frames++;
+ pmcr->pr_dubious_frames++;
return;
}
OpenPOWER on IntegriCloud