提交 cdd7f7c9 编写于 作者: C ChenJie

Bugfix for jemalloc dfx interfaces

Issue: #I6857Y
Test: Build & Boot devices
Signed-off-by: NChenJie <chenjie174@huawei.com>
上级 9836671d
......@@ -1323,7 +1323,7 @@ int mallopt(int param, int value)
#endif
{
#ifdef USE_JEMALLOC_DFX_INTF
return je_mallopt(int param, int value);
return je_mallopt(param, value);
#endif
return 0;
}
......
......@@ -233,7 +233,7 @@ int malloc_info(int options, FILE* fp)
#ifdef USE_JEMALLOC_DFX_INTF
extern struct mallinfo je_mallinfo();
extern je_malloc_stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
extern void je_malloc_stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
const char *opts);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册