Latest build of OpenCSD (0v003) has a new packet type added. This update handles that packet (removes enum error on build) Removed commented out packet types from handler function that no longer exist in the library.
Signed-off-by: Mike Leach mike.leach@linaro.org --- tools/perf/util/cs-etm-decoder/cs-etm-decoder.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c b/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c index c6f23d6..b7cff19 100644 --- a/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c +++ b/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c @@ -183,10 +183,6 @@ static ocsd_datapath_resp_t cs_etm_decoder__gen_trace_elem_printer( case OCSD_GEN_TRC_ELEM_TRACE_ON: decoder->trace_on = true; break; - //case OCSD_GEN_TRC_ELEM_TRACE_OVERFLOW: - //decoder->trace_on = false; - //decoder->discontinuity = true; - //break; case OCSD_GEN_TRC_ELEM_INSTR_RANGE: cs_etm_decoder__buffer_packet(decoder,elem, trace_chan_id, CS_ETM_RANGE); @@ -203,7 +199,7 @@ static ocsd_datapath_resp_t cs_etm_decoder__gen_trace_elem_printer( case OCSD_GEN_TRC_ELEM_ADDR_NACC: case OCSD_GEN_TRC_ELEM_TIMESTAMP: case OCSD_GEN_TRC_ELEM_CYCLE_COUNT: - //case OCSD_GEN_TRC_ELEM_TS_WITH_CC: + case OCSD_GEN_TRC_ELEM_ADDR_UNKNOWN: case OCSD_GEN_TRC_ELEM_EVENT: default: break;