The ARMv7-M architecture reference manual refers to the generation of CMPMATCH[N] events, from the DWT to the ETM (e.g. on matching a PC or data value).
I can't find anywhere how the CMPMATCH event can be used by the ETM; there is no mention in the ETM architecture spec.
How do I enable tracing from a CMPMATCH event? Target is M3, DesignStart Xilinx FPGA.