!1080 fix:补充踩内存和主线程超时事件定义

Merge pull request !1080 from wjf/master
This commit is contained in:
openharmony_ci 2024-07-26 08:16:29 +00:00 committed by Gitee
commit b0a4331ded
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 2021-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@ -136,6 +136,22 @@ extern "C" {
*/
#define EVENT_RESOURCE_OVERLIMIT "RESOURCE_OVERLIMIT"
/**
* @brief app address sanitizer event.
*
* @since 12
* @version 1.0
*/
#define EVENT_ADDRESS_SANITIZER "ADDRESS_SANITIZER"
/**
* @brief app main thread jank event.
*
* @since 12
* @version 1.0
*/
#define EVENT_MAIN_THREAD_JANK "MAIN_THREAD_JANK"
/**
* @brief OS domain.
*