hi Mathieu
is this status still up to date? is there any changes in between
FYI: on gdb it is possible to trace multi-threaded programs on Intel processors using intel PT. I am not quite sure how this is realized, but I tested it and it works.
I am attaching the gdb test source file for it. it can be compiled using " gcc -g ./non-stop.c -o ./non-stop -lpthread"
start gdb using "gdb ./non-stop"
on gdb execute following commands
b main
run
break 27
break 30
thread apply all continue &
record btrace
thread apply all continue &
thread apply all info rec
info threads
set record instruction-history-size 256
thread apply 1 record goto 2
thread apply 2 record goto 4
thread apply 1 record instruction-history 1
thread apply 2 record instruction-history 1
you can see that gdb collects traces for both threads
Kind Regards
Zied Guermazi