Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use EDR in Component

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to use EDR in Component, which has certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let Xiaobian take you to understand it together.

EDR, Error Detection and Reporting, a debugging mechanism added to Vx6 to monitor and record system errors

With this component included, VxWorks allocates an area at the top of memory where some system logs can be logged cyclically. This area will not be cleared during a system hot restart. These logs can be divided into various events: kernel, interrupt, process, etc.; and can be divided into different severity levels: fatal or warning, etc.

Several other functions are not commonly used, interested can try. edrClear() is used to clear these logs, otherwise when the storage area is full, the new log automatically overwrites the oldest log.

Users can also add hook functions to EDR that are automatically invoked when EDR generates logs

Write an example to see how it works.

This is exactly what:

New debug EDR, system log open plug-in.

A variety of records automatically added, the system restart is not afraid.

Thank you for reading this article carefully. I hope that the article "How to use EDR in Component" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support you a lot and pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report