更新日期: 2022/06/01 来源: https://gitee.com/weharmony/kernel_liteos_a_note
los_blackbox_detector.c 文件参考

浏览源代码.

函数

int UploadEventByFile (const char *filePath)
 
int UploadEventByStream (const char *buf, size_t bufSize)
 

函数说明

◆ UploadEventByFile()

int UploadEventByFile ( const char *  filePath)

在文件 los_blackbox_detector.c45 行定义.

46{
47 if (filePath == NULL) {
48 BBOX_PRINT_ERR("filePath is NULL\n");
49 return -1;
50 }
51
52 return 0;
53}
这是这个函数的调用关系图:

◆ UploadEventByStream()

int UploadEventByStream ( const char *  buf,
size_t  bufSize 
)

在文件 los_blackbox_detector.c55 行定义.

56{
57 if (buf == NULL || bufSize == 0) {
58 BBOX_PRINT_ERR("buf: %p, bufSize: %u\n", buf, (UINT32)bufSize);
59 return -1;
60 }
61
62 return 0;
63}
unsigned int UINT32
Definition: los_typedef.h:57