How to set triggers inside a cpu-cluster?

Hello, I post here a question I have made already, but probably this is the right forum,

since I have not received answer till now.

I need some clues (better if it is a code example) about how to set up triggers in a way that a trace

disable in a core will automatically set the trace disable for all core in a cluster (without invalidating

  the contents in ETB). So far, that's the sequence I have:

for(i=0; i<cpu_to_trace; i++)
     cs_trace_disable(devices.ptm[i]);
if (itm) {
     cs_trace_disable(devices.itm);

}
cs_sink_disable(devices.etb);
if (devices.itm_etb != NULL) {
     cs_sink_disable(devices.itm_etb);

}

(cs_xxx functions are taken from csaccess.c ARM file). This could take too long time

and I'd like to freeze the contents of PTM/ETB quite soon when requested

(and for all cores housed in a cluster).

Thanks in advance for your kind answers.

Best Regards,

Carlo

More questions in this forum