mirror of https://github.com/mkerrisk/man-pages
perfmonctl.2: Briefly document PFM_GET_FEATURES, PFM_DEBUG, PFM_GET_PMC_RESET_VAL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
88a657084c
commit
f2b29ffec5
|
@ -1,4 +1,5 @@
|
|||
.\" Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
|
||||
.\" and Copyright (C) 2013 Michael Kerrisk <mtk.manpages@gmail.com>
|
||||
.\" Written by Ivana Varekova <varekova@redhat.com>
|
||||
.\"
|
||||
.\" Permission is granted to make and distribute verbatim copies of this
|
||||
|
@ -143,10 +144,28 @@ Detach the context from a thread.
|
|||
.BI "perfmonctl(int " fd ", PFM_RESTART, NULL, 0);
|
||||
.fi
|
||||
Restart monitoring after receiving an overflow notification.
|
||||
.\"
|
||||
.\" PFM_GET_FEATURES - pfm_get_features()
|
||||
.\" PFM_DEBUG - pfm_debug()
|
||||
.\" PFM_GET_PMC_RESET_VAL - pfm_get_pmc_reset()
|
||||
.TP
|
||||
.B PFM_GET_FEATURES
|
||||
.\" pfm_get_features()
|
||||
.nf
|
||||
.BI "perfmonctl(int " fd ", PFM_GET_FEARURES, pfarg_features_t *" arg ", 1);
|
||||
.fi
|
||||
.TP
|
||||
.B PFM_DEBUG
|
||||
.\" pfm_debug()
|
||||
.nf
|
||||
.BI "perfmonctl(int " fd ", PFM_DEBUG, val, 0);
|
||||
.fi
|
||||
If
|
||||
.I val
|
||||
is nonzero, enable debugging mode, otherwise disable.
|
||||
.TP
|
||||
.B PFM_GET_PMC_RESET_VAL
|
||||
.\" pfm_get_pmc_reset()
|
||||
.nf
|
||||
.BI "perfmonctl(int " fd ", PFM_GET_PMC_RESET_VAL, pfarg_reg_t * " req ", n);
|
||||
.fi
|
||||
Reset PMC registers to default values.
|
||||
.\"
|
||||
.\"
|
||||
.\" .TP
|
||||
|
|
Loading…
Reference in New Issue