I am trying to capture a trace from cores on my target. When I click on the connection's tab in debug configuration, I don't see the "dtsl option" to select the cores which I want to enable for trace. Is there a way to fix this so that I can see the dtsl option.
Assuming that your target does indeed support trace (not all do), you would need to create an appropriate debug configuration of the target, using the Platform Configuration Editor (PCE) feature of the debugger, which you can most easily access via File > New > Other > Configuration Database > Platform Configuration
There are lots of resources on how to do use PCE:
Also, may I ask which debug adapter you are using? If you wish to garner off-chip trace, you likely need DSTREAM-PT.https://developer.arm.com/tools-and-software/embedded/debug-probes/dstream-family/dstream-pt
There may be other, device specific, issues with your target. It may be necessary to raise an official support case from the support menu above.
The controls in the DTSL Options dialog enable you to customize a debug session - configuring debug and trace according to the needs of a particular debug session. The controls and their supporting functionality are all implemented using a simple Python script.