mirror of
https://gitee.com/openharmony/resourceschedule_ffrt
synced 2024-11-30 08:40:40 +00:00
rename_watchdog
Signed-off-by: linyu <yulin24@huawei.com>
This commit is contained in:
parent
0dad86eeb2
commit
e8f54094d3
@ -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);
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user