summaryrefslogtreecommitdiffstats
path: root/lib/libpmc/pmc.3
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2007-03-26 17:33:41 +0000
committerjkoshy <jkoshy@FreeBSD.org>2007-03-26 17:33:41 +0000
commit1fe075e853fb3c260edf10b8f13ee2f659477751 (patch)
treeafd63ceefa8157a044afd48a202ead6747ea1131 /lib/libpmc/pmc.3
parentb6cc16f9a0d30b54f6be4b2f7b7b6b38686a2f3c (diff)
downloadFreeBSD-src-1fe075e853fb3c260edf10b8f13ee2f659477751.zip
FreeBSD-src-1fe075e853fb3c260edf10b8f13ee2f659477751.tar.gz
Clarify memory management rules for pmc_cpuinfo().
Suggested by: "Harald Servat" <redcrash at gmail dot com>
Diffstat (limited to 'lib/libpmc/pmc.3')
-rw-r--r--lib/libpmc/pmc.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpmc/pmc.3 b/lib/libpmc/pmc.3
index 4c11b1a..f3d4407 100644
--- a/lib/libpmc/pmc.3
+++ b/lib/libpmc/pmc.3
@@ -357,7 +357,10 @@ The function
.Fn pmc_cpuinfo
sets argument
.Fa cpu_info
-to point to a structure with information about the system's CPUs.
+to point to an internal structure with information about the system's CPUs.
+The caller should not
+.Fn free
+this pointer value.
Function
.Fn pmc_pmcinfo
returns information about the current state of CPU
OpenPOWER on IntegriCloud