Commit Graph

221 Commits

Author SHA1 Message Date
杨世琦_hw
406d1ce31e optimise the interface of app thread cpu collection
Signed-off-by: 杨世琦_hw <670097973@qq.com>
2024-04-17 15:19:42 +08:00
yuhaoqiang
e79117c9f8 hidebug_native
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
Change-Id: I85581529eff03a891979944fce507765d0a859a1
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
2024-04-11 11:07:51 +08:00
杨世琦_hw
6f60cfe9d4 proc_pid
Signed-off-by: 杨世琦_hw <670097973@qq.com>
2024-04-01 16:23:43 +08:00
董博斯
fbc9620ff4
修复告警
Signed-off-by: 董博斯 <dongbosi@huawei.com>
2024-03-29 02:18:43 +00:00
yuhailong
e07c719ea8 add const fix codex
Change-Id: Ie068d24708f4d7ddf2a32b1d82cfc3272c23e5fd
Signed-off-by: yuhailong <yuhailong2@huawei.com>
2024-03-25 15:43:22 +08:00
openharmony_ci
1af032dace
!1466 threadcpu getprocpid 回退
Merge pull request !1466 from 于好强/master
2024-03-23 10:32:33 +00:00
yuhaoqiang
5a2e36c273 thread_cpu回退为getpid
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
2024-03-23 16:26:40 +08:00
openharmony_ci
7141da99f0
!1451 getpid修复
Merge pull request !1451 from 于好强/master
2024-03-19 11:01:48 +00:00
yuhaoqiang
ef49f35329 getpid -> getprocpid
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
2024-03-18 14:34:02 +08:00
yuhaoqiang
27a02bd423 getpid -> getprocpid
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
2024-03-18 13:55:06 +08:00
p30054102
37812a5a33 安全扫描问题修改
Signed-off-by: p30054102 <panlinzhi@huawei.com>
2024-03-18 10:25:54 +08:00
dongbosi@huawei.com
1c76834dce fix the function name of ndkjson
Signed-off-by: dongbosi@huawei.com <dongbosi@huawei.com>
2024-03-16 10:25:21 +08:00
dongbosi@huawei.com
dcb487ed39 add interface startApptraceCapture
Signed-off-by: dongbosi@huawei.com <dongbosi@huawei.com>
2024-03-08 16:49:59 +08:00
z30044609
699a54676b hidebug提供getAppNativeMemory()的单元测试
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-03-04 20:07:33 +08:00
dongbosi@huawei.com
0b39139060 fix the uint from byte to kb
Signed-off-by: dongbosi@huawei.com <dongbosi@huawei.com>
2024-03-02 14:16:32 +08:00
dongbosi@huawei.com
8633629017 fix the type of memorylimit and the param of startAppTraceCapture
Signed-off-by: dongbosi@huawei.com <dongbosi@huawei.com>
2024-03-01 14:45:34 +08:00
yuhaoqiang
95a7eb8bdf 接口调用限流功能修复
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
2024-02-29 16:28:00 +08:00
z30044609
287970aea1
update hidebug/frameworks/native/src/hidebug_native_interface_impl.cpp.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 11:35:40 +00:00
z30044609
d51542c500
update hidebug/frameworks/native/src/hidebug_native_interface_impl.cpp.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 11:18:49 +00:00
z30044609
703dd7ee72
update hidebug/frameworks/hidebug_ndk/hidebug_ndk.cpp.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 11:17:28 +00:00
z30044609
8d84a20b54
update hidebug/frameworks/native/src/hidebug_native_interface_impl.cpp.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 11:10:36 +00:00
z30044609
f2c459662e Merge branch 'master' of gitee.com:openharmony/developtools_profiler into dev0227
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 08:56:18 +00:00
z30044609
8914d084b1
update hidebug/test/unittest/js/ExampleJsunit.test.js.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 03:21:16 +00:00
z30044609
04ead77fe0
update hidebug/interfaces/js/kits/napi/napi_hidebug.cpp.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 03:15:48 +00:00
z30044609
24a55f9979
update hidebug/test/unittest/native/hidebug_test.cpp.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 03:03:52 +00:00
z30044609
b13530ecc7
update hidebug/frameworks/hidebug_ndk/hidebug_ndk.cpp.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 02:15:56 +00:00
z30044609
759635d540
update hidebug/frameworks/native/src/hidebug_native_interface_impl.cpp.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 01:55:34 +00:00
yuhaoqiang
a1c933ce91 规范修改
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
2024-02-28 09:51:56 +08:00
z30044609
63083c39a3 Merge branch 'master' of gitee.com:openharmony/developtools_profiler into dev0227
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 01:45:14 +00:00
于好强
ee70d2b352 Merge branch 'master' of gitee.com:openharmony/developtools_profiler into master
Signed-off-by: 于好强 <690364942@qq.com>
2024-02-28 01:28:27 +00:00
z30044609
6ece62f5df hidebug提供getAppNativeMemory()、getSysMemory()的ts接口
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
2024-02-28 09:13:17 +08:00
yuhaoqiang
5401d4d14e 常量表达式命名规范修改
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
2024-02-27 21:21:26 +08:00
yuhaoqiang
4d0dbf12c7 ts异常抛出
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
2024-02-27 19:26:22 +08:00
p30054102
95b8143874 1
Signed-off-by: p30054102 <panlinzhi@huawei.com>
2024-02-27 17:34:14 +08:00
p30054102
1ec2ac0892 1
Signed-off-by: p30054102 <panlinzhi@huawei.com>
2024-02-27 17:19:55 +08:00
p30054102
d0511d62a6 1
Signed-off-by: p30054102 <panlinzhi@huawei.com>
2024-02-27 17:06:11 +08:00
p30054102
9f57059639 getappmemorylimit 需求提交
Signed-off-by: p30054102 <panlinzhi@huawei.com>
2024-02-27 16:55:51 +08:00
yuhaoqiang
9c80be5dac 新增SystemCpuUsage接口
Signed-off-by: yuhaoqiang <yuhaoqiang@huawei.com>
2024-02-27 16:08:47 +08:00
openharmony_ci
30ed46816a
!1325 【新需求】提供应用运行资源采集的一些接口
Merge pull request !1325 from 董博斯/master
2024-02-27 07:00:03 +00:00
dongbosi@huawei.com
fae8008f32 add hidebug napi and ndk
Signed-off-by: dongbosi@huawei.com <dongbosi@huawei.com>
2024-02-27 09:19:24 +08:00
ganchuantao
0fc7d0b815
hidebug与hidumper返回值保持一致
Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
2024-02-07 02:34:51 +00:00
wenlong_12
8ed7801198
告警清理
Signed-off-by: wenlong_12 <wenlong12@huawei.com>
2024-01-05 07:24:34 +00:00
wenlong12
3f6dca1e7b 告警清理
Signed-off-by:wenlong12 <wenlong12@huawei.com>

Signed-off-by: wenlong12 <wenlong12@huawei.com>
2023-12-26 16:45:22 +08:00
ganchuantao
459c5cfe69
删除多余信息
Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
2023-12-25 14:18:04 +00:00
ganchuantao
1513b90352
添加log_tag
Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
2023-12-25 10:04:05 +00:00
ganchuantao
779ab975ce hilog轻量化整改hidebug
Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
Change-Id: Id60e2f83520f5307041606d8f31681174e524cf8
2023-12-25 15:42:15 +08:00
ganchuantao
c0cd0a0ef1 修改不规范空指针判断
Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
Change-Id: Ic0eb7defc75303c1681c1a79f5c1c7d67a0ff4fc
2023-12-15 15:27:43 +08:00
xiazhonglin
d0d88a70a9 add remove napi wrap function
Signed-off-by: xiazhonglin <xiazhonglin@huawei.com>
Change-Id: I37af5ebc61d9d5b7b92163fc962fe3634e6510ba
2023-12-09 11:56:28 +08:00
ganchuantao
21e5b3ea07
回退cpuusage获取方式
Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
2023-11-30 12:12:09 +00:00
ganchuantao
44c3b15d18 应用运行时信息导出调用新接口
Signed-off-by: ganchuantao <ganchuantao1@huawei.com>
Change-Id: I23211200867ef25b164465619d7fe37e25c70eff
2023-11-27 19:41:35 +08:00
wenlong_12
0ba3b25173 部件整改删除googletest
Signed-off-by:wenlong12<wenlong12@huawei.com>

Signed-off-by: wenlong_12 <wenlong12@huawei.com>
2023-11-13 11:01:49 +08:00
wenlong_12
471043381c
修复目标进程名称比较错误的问题
Signed-off-by: wenlong_12 <wenlong12@huawei.com>
2023-08-23 06:58:34 +00:00
wenlong12
d0001bdb77 版权信息整改
Signed-off-by:wenlong12 <wenlong12@huawei.com>

Signed-off-by: wenlong12 <wenlong12@huawei.com>
2023-08-15 11:02:39 +08:00
wenlong12
112d44d9e2 版权信息整改
Signed-off-by:wenlong12 <wenlong12@huawei.com>

Signed-off-by: wenlong12 <wenlong12@huawei.com>
2023-08-14 20:06:28 +08:00
卢韬
306aaeb8a0
部件化整改
Signed-off-by: 卢韬 <lutao31@huawei.com>
2023-07-18 15:05:12 +00:00
yangjunpeng123
49ca2fce66
update hidebug/frameworks/native/hidebug_base.c.
Signed-off-by: yangjunpeng123 <yangjunpeng4@huawei.com>
2023-07-11 03:06:53 +00:00
yangjunpeng4@huawei.com
38efe58875 Signed-off-by: yangjunpeng4@huawei.com <yangjunpeng4@huawei.com> 2023-07-10 17:46:44 +08:00
lutao
791a4d6e74 add libbegetutil_static
Signed-off-by: lutao <lutao31@huawei.com>
2023-07-07 14:12:58 +08:00
wenlong_12
6ba63c0e0b
修改hidebug UT 编译后的输出路径
Signed-off-by: wenlong_12 <wenlong12@huawei.com>
2023-06-28 08:42:19 +00:00
wenlong_12
cb15b516c7 hilog部件名整改
Signed-off-by: wenlong_12 <wenlong12@huawei.com>
Change-Id: Ia0b5be2b16828e7ee34c970440ba9293d2cba9af
2023-06-20 19:49:28 +08:00
openharmony_ci
abbc0d36e6
!961 profiler 部件依赖整改
Merge pull request !961 from wenlong_12/master
2023-06-19 09:28:59 +00:00
wenlong_12
583b8f5d22 部件名称整改
Signed-off-by: wenlong_12 <wenlong12@huawei.com>

Signed-off-by: wenlong_12 <wenlong12@huawei.com>
2023-06-16 15:44:57 +08:00
wenlong_12
40b448dd1f so裁剪以及注释添加
Signed-off-by: wenlong_12 <wenlong12@huawei.com>
Change-Id: I4a3cad4e689211151f1637550537c4f4555a151c
2023-06-12 20:02:45 +08:00
wenlong12
6e90c57e5a 更新hidebug js接口
Signed-off-by:wenlong12 <wenlong12@huawei.com>

Signed-off-by: wenlong12 <wenlong12@huawei.com>
2023-06-02 14:15:26 +08:00
wenlong_12
5f9edf7ae2 Merge branch 'master' of https://gitee.com/wenlong_12/developtools_profiler_gaojin 2023-06-01 20:38:27 +08:00
wenlong_12
ff60d7d46e
profiler 部件依赖整改
Signed-off-by: wenlong_12 <wenlong12@huawei.com>
2023-05-31 09:12:42 +00:00
wenlong12
68cc71c523 告警清理
Signed-off-by:wenlong12 <wenlong12@huawei.com>

Signed-off-by: wenlong12 <wenlong12@huawei.com>
2023-05-31 09:11:18 +08:00
wenlong_12
af21844487
升级fileio接口为fs
Signed-off-by: wenlong_12 <wenlong12@huawei.com>
2023-04-17 08:58:37 +00:00
zhang-cui11
6799c301e7 Revert hidebug 678
Signed-off-by: zhang-cui11 <zhangcui11@huawei.com>
2023-02-15 14:31:49 +08:00
jiangyuan0000
d06daeff23 修复hap签名失败
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2023-01-10 15:17:03 +08:00
zhang-cui11
419201bea3 delete .json
Signed-off-by: zhang-cui11 <zhangcui11@huawei.com>
2022-12-24 17:13:27 +08:00
zhang-cui11
aa8593fb91 fix hidebug ut
Signed-off-by: zhang-cui11 <zhangcui11@huawei.com>
2022-12-24 17:08:41 +08:00
zhang-cui11
44835081ee 修改hidebug cpuprofile后缀
Signed-off-by: zhang-cui11 <zhangcui11@huawei.com>
2022-12-24 15:05:46 +08:00
jiangyuan0000
7cd58532ea fix unittest fail
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-12-13 18:10:46 +08:00
openharmony_ci
d1e207014b
!638 安全编码规范修改
Merge pull request !638 from 卢韬/master
2022-11-30 03:10:02 +00:00
lutao
aa5bb840aa fix security code check
Signed-off-by: lutao <lutao31@huawei.com>
2022-11-28 15:58:17 +08:00
Chao Liu
d70dbb7b77 Fix js using var warning
use let/const instead of var

Signed-off-by: Chao Liu <liuchao741@huawei.com>
2022-11-27 13:29:00 +08:00
lutao
fa4d85b81e fix codecheck
Signed-off-by: lutao <lutao31@huawei.com>
2022-11-26 11:31:18 +08:00
openharmony_ci
0b5f44f1f7
!595 堆接口优化
Merge pull request !595 from jiangyuan0000/master
2022-11-23 05:34:08 +00:00
openharmony_ci
9ae6a7cd4d
!612 补充测试用例
Merge pull request !612 from jiangyuan0000/master
2022-11-23 02:23:30 +00:00
jiangyuan0000
29af5bb086 补充测试用例
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-11-22 17:37:59 +08:00
stesen
9094b0eb88 make libhidebug a static library in init,
to speed up service bring up

Signed-off-by: stesen <stesen.ma@huawei.com>
Change-Id: I3fccec5376ed51e7addc2dce03a1935c430b44ab
2022-11-21 19:52:42 +08:00
jiangyuan0000
11d1e03cd3 heap interface 修复
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-11-15 11:26:51 +08:00
jiangyuan0000
564a398635 添加接口测试用例
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-11-11 09:43:25 +08:00
jiangyuan0000
e021f633d8 文件创建路径优化
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-10-21 11:18:41 +08:00
jiangyuan0000
284f1802aa napi 接口优化
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-10-17 23:13:46 +08:00
jiangyuan0000
4f3c3d09c0 优化创建文件代码
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-09-29 19:57:21 +08:00
openharmony_ci
84a7aa151c
!512 modify code path
Merge pull request !512 from ry/master
2022-09-21 02:42:30 +00:00
yanmengzhao1
a1407bfabd remove unused param
Signed-off-by: yanmengzhao1 <yanmengzhao1@huawei.com>
2022-09-20 11:52:10 +08:00
ry
dce6a249b5 modify code path
Signed-off-by: ry <ry.renyi@huawei.com>
2022-09-15 15:31:13 +08:00
jiangyuan0000
3f691059f8 添加unittest测试用例
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-08-25 16:28:54 +08:00
jiangyuan0000
7fbfd08ccd 代码告警处理
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-08-16 10:27:08 +08:00
jiangyuan0000
6ee1373197 代码优化
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-08-10 16:37:56 +08:00
jiangyuan0000
d4e8b5b4e5 代码优化
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-08-10 11:36:21 +08:00
yanmengzhao1
74a58380ee fix hidebug napi hilog domain
Signed-off-by: yanmengzhao1 <yanmengzhao1@huawei.com>
2022-08-09 10:50:42 +08:00
chen
ec4c698761 Merge branch 'master' of gitee.com:openharmony/developtools_profiler into master 2022-07-30 06:03:04 +00:00
lijiahao
ed84c33ee5 change utils path
Signed-off-by: lijiahao <lijiahao36@huawei.com>
2022-07-30 08:57:57 +08:00
jiangyuan0000
6365c93e72 代码结构优化
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-07-29 10:35:29 +08:00
chen
26c56b7799 modify samgr
Signed-off-by: chen <chenkang40@huawei.com>
Change-Id: Ia165adfafba5725ff960705ec5831bc9017b7ff5
2022-07-22 10:02:27 +08:00
jiangyuan0000
493758c440 codex修改
Signed-off-by: jiangyuan0000 <jiangyuan29@huawei.com>
2022-07-12 15:24:16 +08:00