Exception Trace Data Filtering Mechanism

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data processing systems face challenges in efficiently tracing exception handling events due to the generation of large amounts of trace data, which can lead to buffer overflow and loss of information, especially when exception tracing is enabled, making it difficult to analyze processing activity effectively.

Innovation Solution

The implementation of a trace module that varies the amount of exception trace information output based on configuration data, allowing for filtering, merging of trace packets, and the use of a tailchain flag, as well as compression modes to reduce the size of exception trace packets, thereby improving the tracing of exception handling events and alleviating buffer overflow issues.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If exception tracing is enabled to monitor processing activity, then diagnostic capability is improved, but trace data volume increases causing buffer overflow

Engineering Contradiction:
Improvediagnostic capabilityVSAvoidtrace data volume
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent extracts and outputs only selected exception handling events rather than all trace data. The trace filter selectively passes exception entry, exit, and return events while filtering out other trace data, thereby reducing the volume of trace data sent to the trace analyzer while maintaining diagnostic capability for exception handling.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by selectively tracing only exception handling events rather than all processing activity. The trace filter enables partial monitoring of processing activity focused specifically on exception events, which provides sufficient diagnostic information while minimizing trace data volume.

Inventive Principle:
Principle #16Partial or excessive action

2Loss of information

If all exception trace information is output for complete analysis, then information completeness is improved, but bandwidth consumption increases

Engineering Contradiction:
Improveinformation completenessVSAvoidbandwidth consumption
Core Design Contradiction:
Loss of informationVSLoss of energy

Solution Approach 1:

The trace filter extracts only the essential exception handling events (entry, exit, return) from the complete trace data stream. This selective extraction maintains the completeness of exception handling information while significantly reducing the bandwidth required to transmit trace data to the analyzer.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments trace data into different categories and selectively processes only exception handling events. The trace filter divides the trace data stream and separates exception events from other processing activity, transmitting only the segmented exception data to reduce bandwidth consumption while preserving complete exception handling information.

Inventive Principle:
Principle #1Segmentation

3Reliability

If trace filtering is applied to reduce data volume, then buffer overflow is prevented, but trace analysis capability may be reduced

Engineering Contradiction:
Improvebuffer overflow preventionVSAvoidtrace analysis capability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The trace filter acts as an intermediary between the trace data source and the trace analyzer. It selectively passes exception handling events while blocking other trace data, thereby preventing buffer overflow while maintaining the trace analyzer's ability to fully analyze exception handling behavior. The intermediary preserves all necessary exception information for complete analysis.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentEP3133493B1Tracing of exception handling events
Publication Date: 2020.04.08 ARM LTD
  • EP3133493B1 patent drawingFigure 1~2
  • EP3133493B1 patent drawingFigure 3A~3C
  • EP3133493B1 patent drawingFigure 4~5

AI summary

An apparatus 2 comprises trace circuitry 6, 120 to output exception trace data indicating exception handling events detected during monitoring of processing activity of processing circuitry 4. A configuration element 16 maintains exception trace configuration data for controlling the output of the exception trace data via the trace circuitry 6, 120. When output of exception trace data is enabled, the trace circuitry 6, 120 selects, in dependence on the exception trace configuration data, how much of the exception trace data to output.