SPTDECODE

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
NOTES
SEE ALSO

NAME

sptdecode − Decode Processor Trace files and display call trace

SYNOPSIS

sptdecode [--sideband sidebandfile] ... [--elf elfbinary ] [-i] [--tsc] [--pt ptfile ...]

DESCRIPTION

sptdecode decodes Processor Trace traces generated by simple-pt. It shows a call trace of all the function calls executed during the trace. Mandatory arguments are trace file with --pt, and either an ELF binary with --elf or the side band data listing multiple binaries with --sideband. The trace file contains the trace data for a single CPU. --sideband and --elf need to be specified before --pt. When -i is specified, the raw instructions are dumped, optionally with disassembly. Default is to just show function calls.

With the --tsc or -t option the time is shown in TSC units, otherwise in us.

EXAMPLES

sptcmd command
sptdecode --sideband ptout.sideband --pt ptout.0

NOTES

To decode kernel code sptcmd has to run as root, in order to access /proc/kcore.

SEE ALSO

sptcmd fastdecode simple-pt