blob: 083cc856984ca66c9c11c97f8df17d213482b5a7 [file] [log] [blame]
.TH OPHELP 1 "@DATE@" "oprofile @VERSION@"
.UC 4
.SH NAME
ophelp \- list OProfile events
.SH SYNOPSIS
.br
.B ophelp
[
.I options
]
[event name]
.SH DESCRIPTION
By default,
.B ophelp
lists the available performance counter options. If you
give it a symbolic event name, it will return the hardware
value (e.g. "ophelp DATA_MEM_REFS").
.SH OPTIONS
.TP
.BI "--cpu-type / -c"
Show the events for the given numerical CPU type.
.br
.TP
.BI "--get-cpu-type / -r"
Show the symbolic CPU name.
.br
.TP
.BI "--get-default-event / -d"
.br
Show the default event for the specified CPU type.
.TP
.BI "--check-events / -e [events]"
Check the given space-separated event descriptions for validity.
If the events are valid, show which pmu counter each event would be assigned to.
.br
.TP
.BI "--callgraph [callgraph_depth]"
Use the callgraph depth to compute the higher minimum sampling intervals
for the events.
.br
.TP
.BI "--unit-mask / -u [event]"
Show the default unit mask for the given event.
.br
.TP
.BI "--extra-mask / -E [event]"
Show the extra unit mask for given event.
.br
.TP
.BI "--xml / -X"
List events in XML format.
.br
.TP
.BI "--help / -? / --usage"
Show help message.
.br
.TP
.BI "--version / -v"
Show version.
.SH ENVIRONMENT
No special environment variables are recognised by ophelp.
.SH FILES
.TP
.I $prefix/share/oprofile/
Event description files used by OProfile.
.TP
.I /var/lib/oprofile/samples/
The location of the generated sample files.
.SH VERSION
.TP
This man page is current for @PACKAGE@-@VERSION@.
.SH SEE ALSO
.BR @OP_DOCDIR@,
.BR oprofile(1)