rename_watchdog

Signed-off-by: linyu <yulin24@huawei.com>
This commit is contained in:
linyu 2024-06-03 15:24:37 +08:00
parent 0dad86eeb2
commit e8f54094d3
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ typedef enum {
DUMP_INFO_ALL = 0,
} ffrt_dump_cmd_t;
typedef void(*ffrt_task_timeout_cb)(uint64_t, const char *, uint32_t);
typedef void(*ffrt_task_timeout_cb)(uint64_t gid, const char * msg, uint32_t size);
FFRT_C_API int ffrt_dump(ffrt_dump_cmd_t cmd, char *buf, uint32_t len);
FFRT_C_API ffrt_task_timeout_cb ffrt_task_timeout_get_cb(void);

View File

@ -65,7 +65,7 @@ int dump_info_all(char *buf, uint32_t len)
}
API_ATTRIBUTE((visibility("default")))
int ffrt_dump(uint32_t cmd, char *buf, uint32_t len)
int ffrt_dump(ffrt_dump_cmd_t cmd, char *buf, uint32_t len)
{
#ifdef FFRT_CO_BACKTRACE_OH_ENABLE
switch (static_cast<ffrt_dump_cmd_t>(cmd)) {