aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pmcstat/pmcpl_callgraph.h
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2017-10-24 16:28:00 +0000
committerRuslan Bukin <br@FreeBSD.org>2017-10-24 16:28:00 +0000
commitd27927f731d6877267b0db84664776d2e62fc443 (patch)
treecd3aca85950d07a00423da65d47330205feed92c /usr.sbin/pmcstat/pmcpl_callgraph.h
parent701492a5f6733530ace7c6af70a753bb6c8c4120 (diff)
Extract a set of pmcstat functions and interfaces to the new internal
library -- libpmcstat. This includes PMC logging module, symbols lookup functions, ELF parsing, process management, PMC attachment, etc. This allows to reuse code while building new hwpmc(4)-based applications. Also add pmcstat_symbol_search_by_name() function that allows to find mapped IP range for a given function name. Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D12718
Notes
Notes: svn path=/head/; revision=324959
Diffstat (limited to 'usr.sbin/pmcstat/pmcpl_callgraph.h')
-rw-r--r--usr.sbin/pmcstat/pmcpl_callgraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pmcstat/pmcpl_callgraph.h b/usr.sbin/pmcstat/pmcpl_callgraph.h
index aaf0e1ba1d69..d67359b64981 100644
--- a/usr.sbin/pmcstat/pmcpl_callgraph.h
+++ b/usr.sbin/pmcstat/pmcpl_callgraph.h
@@ -60,7 +60,7 @@ void pmcpl_cg_shutdown(FILE *mf);
void pmcpl_cg_process(
struct pmcstat_process *pp, struct pmcstat_pmcrecord *pmcr,
uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
-int pmcpl_cg_topkeypress(int c, WINDOW *w);
+int pmcpl_cg_topkeypress(int c, void *w);
void pmcpl_cg_topdisplay(void);
void pmcpl_cg_configure(char *opt);