hi,
I started implementing GDB process record and replay with ARM CoreSight as described in the rfc published early this year. 
Current implementation of coresight tracing in Perf is based on the sysfs interface, by accessing /sys/bus/event_source/devices/cs_etm ...  file. GDB implementation of bts and ipt is based on the syscall  "sys_perf_event_open".
it would be nice to use the similar mechanism for realizing similar functionalities. therefore I would like to know if linux kernel (with coresight deivers)  is exposing coresight drivers through the syscall sys_perf_event_open and if this is the case how shall I configure the perf_event_attr to use it.

thanks 
Zied Guermazi