I try to use 'perf trace' command to trace tsx abort in a special thread. But I get errors with arguments. All command I think may be right and tried is below.
perf trace --pid 24265 --event tx-abort
perf trace --pid 24265 --event {tx-abort}
perf trace --pid 24265 --event {'tx-abort'}
perf trace --pid {24265} --event tx-abort
perf trace --pid {24265} --event {tx-abort}
perf trace --pid {24265} --event {'tx-abort'}
perf trace --pid {'24265'} --event tx-abort
perf trace --pid {'24265'} --event {tx-abort}
perf trace --pid {'24265'} --event {'tx-abort'}
All error hins is 'Problems parsing the target to trace,check your options'.
Is there any way to let perf trace run as expected?