summaryrefslogtreecommitdiffstats
path: root/lib/libpmc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-24 10:54:47 +0000
committerru <ru@FreeBSD.org>2005-11-24 10:54:47 +0000
commit46b5b6bcde494f3e8f81aa12b8e787b92118f7d5 (patch)
treea1f5c4bc76defbe9539de25325b37f8b7b723536 /lib/libpmc
parent3cf38aeba7122c79b40532853ec06470913969b1 (diff)
downloadFreeBSD-src-46b5b6bcde494f3e8f81aa12b8e787b92118f7d5.zip
FreeBSD-src-46b5b6bcde494f3e8f81aa12b8e787b92118f7d5.tar.gz
Fix prototypes.
Diffstat (limited to 'lib/libpmc')
-rw-r--r--lib/libpmc/pmc.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpmc/pmc.3 b/lib/libpmc/pmc.3
index 6325c6e..a2273f0 100644
--- a/lib/libpmc/pmc.3
+++ b/lib/libpmc/pmc.3
@@ -68,7 +68,7 @@
.Fa "const char *eventspecifier"
.Fa "enum pmc_mode mode"
.Fa "uint32_t flags"
-.Fa "uint32_t cpu"
+.Fa "int cpu"
.Fa "pmc_id_t *pmcid"
.Fc
.Ft int
@@ -82,9 +82,9 @@
.Ft int
.Fn pmc_detach "pmc_id_t pmcid" "pid_t pid"
.Ft int
-.Fn pmc_disable "uint32_t cpu" "int pmc"
+.Fn pmc_disable "int cpu" "int pmc"
.Ft int
-.Fn pmc_enable "uint32_t cpu" "int pmc"
+.Fn pmc_enable "int cpu" "int pmc"
.Ft int
.Fo pmc_event_names_of_class
.Fa "enum pmc_class cl"
@@ -116,9 +116,9 @@
.Ft int
.Fn pmc_ncpu void
.Ft int
-.Fn pmc_npmc "uint32_t cpu"
+.Fn pmc_npmc "int cpu"
.Ft int
-.Fn pmc_pmcinfo "uint32_t cpu" "struct pmc_pmcinfo **pmc_info"
+.Fn pmc_pmcinfo "int cpu" "struct pmc_pmcinfo **pmc_info"
.Ft int
.Fn pmc_read "pmc_id_t pmc" "pmc_value_t *value"
.Ft int
OpenPOWER on IntegriCloud