diff options
author | scottl <scottl@FreeBSD.org> | 2014-05-07 20:20:52 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2014-05-07 20:20:52 +0000 |
commit | 76892e1ddc1fc146dd77aa7e4f27a87b743ef731 (patch) | |
tree | 4be4b5b8b8b2d23a9996fefa47d8a0bdb0a01d69 /usr.sbin/pmcstat/pmcstat_log.c | |
parent | b9bac26480d30c76e6ba2c15dba46074285a30fd (diff) | |
download | FreeBSD-src-76892e1ddc1fc146dd77aa7e4f27a87b743ef731.zip FreeBSD-src-76892e1ddc1fc146dd77aa7e4f27a87b743ef731.tar.gz |
Merged r262424-262425,265085
Add the -a option to pmcstat. This produces a full stack track on the
sampled points. See the man page for details on how this works.
Obtained from: Netflix, Inc.
Diffstat (limited to 'usr.sbin/pmcstat/pmcstat_log.c')
-rw-r--r-- | usr.sbin/pmcstat/pmcstat_log.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/pmcstat/pmcstat_log.c b/usr.sbin/pmcstat/pmcstat_log.c index fdcf9c4..f0e4939 100644 --- a/usr.sbin/pmcstat/pmcstat_log.c +++ b/usr.sbin/pmcstat/pmcstat_log.c @@ -149,6 +149,7 @@ struct pmcstat_process *pmcstat_kernproc; /* kernel 'process' */ #include "pmcpl_gprof.h" #include "pmcpl_callgraph.h" #include "pmcpl_annotate.h" +#include "pmcpl_annotate_cg.h" #include "pmcpl_calltree.h" static struct pmc_plugins { @@ -214,6 +215,11 @@ static struct pmc_plugins { .pl_topdisplay = pmcpl_ct_topdisplay }, { + .pl_name = "annotate_cg", + .pl_process = pmcpl_annotate_cg_process + }, + + { .pl_name = NULL } }; |