perfmonctl.2: Minor reorganization

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-02-09 21:52:40 +01:00
parent 0609db2aa2
commit 3dfb8d01cd
1 changed files with 22 additions and 22 deletions

View File

@ -59,10 +59,10 @@ are:
.TP
.B PFM_CREATE_CONTEXT
set up a context
.nf
.BI "perfmonctl(int " fd ", PFM_CREATE_CONTEXT, pfarg_context_t *" ctxt ", 1);
.fi
Set up a context.
The
.I fd
@ -89,60 +89,60 @@ on the file descriptor.
.TP
.B PFM_WRITE_PMCS
.\" pfm_write_pmcs()
set PMC registers
.nf
.BI "perfmonctl(int " fd ", PFM_WRITE_PMCS, pfarg_reg_t *" pmcs ", n);
.fi
Set PMC registers.
.TP
.B PFM_WRITE_PMDS
.\" pfm_write_pmds()
set PMD registers
.nf
.BI "perfmonctl(int " fd ", PFM_WRITE_PMDS, pfarg_reg_t *" pmds ", n);
.fi
.\" pfm_write_pmds()
Set PMD registers.
.TP
.B PFM_READ_PMDS
.\" pfm_read_pmds()
read PMD registers
.nf
.BI "perfmonctl(int " fd ", PFM_READ_PMDS, pfarg_reg_t *" pmds ", n);
.fi
Read PMD registers.
.TP
.B PFM_START
.\" pfm_start()
start monitoring
.nf
.\" .BI "perfmonctl(int " fd ", PFM_START, arg, 1);
.BI "perfmonctl(int " fd ", PFM_START, NULL, 0);
.fi
Start monitoring.
.TP
.B PFM_STOP
.\" pfm_stop()
stop monitoring
.nf
.BI "perfmonctl(int " fd ", PFM_START, NULL, 0);
.fi
Stop monitoring.
.TP
.B PFM_LOAD_CONTEXT
.\" pfm_context_load()
attach the context to a thread
.nf
.BI "perfmonctl(int " fd ", PFM_LOAD_CONTEXT, pfarg_load_t *" largs ", 1);
.fi
Attach the context to a thread.
.TP
.B PFM_UNLOAD_CONTEXT
.\" pfm_context_unload()
detach the context from a thread
.nf
.BI "perfmonctl(int " fd ", PFM_UNLOAD_CONTEXT, NULL, 0);
.fi
Detach the context from a thread.
.TP
.B PFM_RESTART
.\" pfm_restart()
restart monitoring after receiving an overflow notification
.nf
.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()