Starts, resets, or stops generating Performance Monitor events.
pmctl [ { [ -E [ mode ] ] [ -f interval ] {[ -y command ]} } | [ -h ] | [ -r ] | [ -S ] ] [ -s ] [ { -a -y command [ -f interval ] }]
The pmctl command starts, stops, or resets the generation of Performance Monitor events in the PMAPI subsystem to support manual offline mode with the tprof -E command. It also reports the current status of the PMAPI subsystem.
| Item | Description |
|---|---|
| -a | Turns on large page analysis. |
| -E [ mode ] | Enables event-based profiling. You can specify
one of the following modes:
|
| -f interval | Specifies the sampling interval to use.
|
| -h | Prints man page information. |
| -r | Releases and resets the PMAPI subsystem. |
| -S | Stops generating Performance Monitor events. |
| -s | Prints the current status of the PMAPI subsystem. |
| -y command | Turns on the event-based profiling only for the specified command and its descendents. |
pmctl –S
pmctl –r
pmctl –s
pmctl –E
pmctl –E –y workload
trace -adf -o mydata.trc
trcon
pmctl –E
sleep 10; trcstop
gensyms > mydata.syms
tprof –suker mydata
trace -adf -o mydata.trc
trcon
pmctl –E –y workload
trcstop
gensyms > mydata.syms
tprof –suker mydata