Hooking System Call for Electronic Fault Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In electronic systems, such as mobile SoCs, distinguishing between software and hardware faults, and identifying the source of hardware faults, is challenging due to conditions like high temperatures and voltage fluctuations, which cause data corruption or loss.

Innovation Solution

A method involving a hooking system call that replaces the original system call, capturing system call execution and hardware performance information, allowing for real-time monitoring and analysis to classify faults as software or hardware and determine their origin within the system.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a hooking system call is used to replace the original system call for monitoring, then fault detection capability is improved, but device complexity increases

Engineering Contradiction:
Improvefault detection capabilityVSAvoiddevice complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent introduces a hooking system call as an intermediary component between the original system call and the hardware. This hooking system call captures monitoring information including system call execution details and hardware performance data, enabling fault detection without requiring dedicated hardware monitoring circuits. The intermediary approach resolves the contradiction by achieving precise fault detection through software-based monitoring rather than hardware modification.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If monitoring information is collected in real-time to analyze faults, then fault analysis accuracy is improved, but loss of time increases

Engineering Contradiction:
Improvefault analysis accuracyVSAvoidtime for fault analysis
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The hooking system call is configured to collect and record monitoring information proactively before faults manifest. By continuously capturing system call execution information and hardware performance metrics in advance, the system prepares diagnostic data that can be immediately analyzed when a fault occurs, reducing the time required for post-fault analysis while maintaining high accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a feedback mechanism where monitoring information is continuously collected, analyzed, and used to detect faults in real-time. The hooking system call provides ongoing feedback about system state, enabling the monitor system to identify faults as they develop rather than after complete system failure, thus improving accuracy without significant time loss.

Inventive Principle:
Principle #23Feedback

3Reliability

If comprehensive monitoring information is recorded to determine fault source, then reliability of fault diagnosis is improved, but loss of information increases

Engineering Contradiction:
Improvereliability of fault diagnosisVSAvoidinformation loss
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The monitoring information is segmented into distinct categories including system call execution information (such as process ID, system call type, parameters) and hardware performance information (such as CPU cycles, cache access counts, stall counters). This segmentation allows the system to collect comprehensive data for reliable fault diagnosis while organizing information efficiently to minimize redundancy and information loss during storage and analysis.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10067813B2Method of analyzing a fault of an electronic system
Publication Date: 2018.09.04 SAMSUNG ELECTRONICS CO LTD
  • US10067813B2 patent drawing
  • US10067813B2 patent drawing
  • US10067813B2 patent drawing

AI summary

In a method of analyzing a fault and/or error of an electronic system according to some example embodiments, a system call that accesses a hardware is replaced with a hooking system call including a code that executes the system call and a code that obtains monitoring information, the monitoring information including system call execution information and hardware performance information is obtained by executing the hooking system call when the hooking system call is called instead of the system call, and the monitoring information is recorded to analyze the fault/error of the electronic system based on the monitoring information.