I am a newbie using Intel PT for the trace. I have read Intel PT manual and started to use it with simple-pt to understand how Intel PT works.
sptcmd
command in simple-pt works and generates ptout.N
with following command.
sudo ./sptcmd -c ls ls
When I use sptdecode as follows:
sudo ./sptdecode --sideband ptout.sideband --pt ptout.0
I get the following response:
TIME DELTA INSNs OPERATION
50:0: error trace stream does not match query
50: sync forward: trace stream does not match query
I have tried with boot argument of nopti
as mentioned on simple-pt Git repo.
Additional information about setup which maybe relevant:
Compiled and built simple-pt from Git repo https://github.com/andikleen/simple-pt.
Using libipt by building from latest Git repo https://github.com/01org/processor-trace.
Using Ubuntu - 16.04
I am not sure what I am missing. Any help or pointers are appreciated.