鸿蒙研究站
|
官方文档
|
源码分析
== 鸿蒙内核参考手册 ==
内核注释
|
论坛
|
赞助作者
更新日期: 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.c
第
45
行定义.
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.c
第
55
行定义.
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
}
UINT32
unsigned int UINT32
Definition:
los_typedef.h:57
kernel
extended
blackbox
los_blackbox_detector.c
公众号:鸿蒙研究站(weharmonyos)
|
论坛: bbs.weharmonyos.com
| 制作者
鸿蒙研究站 | weharmonyos.com