Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
e08b674f34
!66 [sync] PR-64: bug fix: expand msg buffer, wrong code to check if buff is full
From: @openeuler-sync-bot 
Reviewed-by: @queyanwen 
Signed-off-by: @queyanwen
2024-06-20 15:57:01 +00:00
heppen
ba29609452 🐞 fix: Delete the unnecessary comma in the configuration file
(cherry picked from commit fd332c6f61487bf0c7ddc6daf388835db2950d56)
2024-06-20 23:48:42 +08:00
heppen
4d59cfb3ef bug fix: expand msg buffer, wrong code to check if buff is full
(cherry picked from commit 5cb61535379864a4819ae0401ba7aa08bb12daac)
2024-06-20 23:48:42 +08:00
openeuler-ci-bot
db7ccddf18
!63 [sync] PR-62: bugfix: PWR_PROC_QueryProcs 和 PWR_SYS_SetPowerState
From: @openeuler-sync-bot 
Reviewed-by: @queyanwen 
Signed-off-by: @queyanwen
2024-06-17 02:21:18 +00:00
Zihao Xue
bc97e0191e fix two bugs
(cherry picked from commit 1a7292e02551952c723e1f49f60a1580b54f57a8)
2024-06-17 09:46:46 +08:00
openeuler-ci-bot
4c2d458ca7
!61 [sync] PR-59: 【Bug fix】瓦特调度属性读取错误、队列只有一个pid、smart_grid开关设置失败、SIGPIEP导致服务退出等
From: @openeuler-sync-bot 
Reviewed-by: @queyanwen 
Signed-off-by: @queyanwen
2024-06-07 01:45:39 +00:00
heppen
6c811aabc4 buf fix
(cherry picked from commit d023a3cbf7a6f9786fa108aea3f79465b93d3b0a)
2024-06-06 14:48:42 +08:00
openeuler-ci-bot
094202af9f
!57 [sync] PR-56: 【Bug Fix】修复内存问题/关键字查询进程问题/瓦特调度第一次获取状态失败问题
From: @openeuler-sync-bot 
Reviewed-by: @queyanwen 
Signed-off-by: @queyanwen
2024-06-04 06:25:49 +00:00
heppen
c36ec97948 bug fix
(cherry picked from commit 4f97cee87ae8d8315e1a7a504a9d1d1989403681)
2024-06-03 15:40:08 +08:00
openeuler-ci-bot
2aa8c38402
!55 [sync] PR-53: 【Bug fix】编译告警、开放PWR_SYS_GetRtPowerInfo接口、数据采集任务拦截非法任务类型
From: @openeuler-sync-bot 
Reviewed-by: @queyanwen 
Signed-off-by: @queyanwen
2024-05-29 04:13:57 +00:00
heppen
e3b6cdd36c bug fix
(cherry picked from commit 416557237544c4e7fa8643246def3bb54e854ce0)
2024-05-29 12:00:24 +08:00
2 changed files with 28 additions and 3 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: powerapi
Version: 1.1.0
Release: 2
Release: 8
Summary: The ability to support openEuler power consumption control.
License: MulanPSL-2.0
@ -65,16 +65,41 @@ systemctl stop pwrapis
%{_sysconfdir}/sysconfig/pwrapis/*
%dir %{_includedir}/pwrapic
%{_includedir}/pwrapic/*
%{_sysconfdir}/systemd/system/pwrapis.service
%changelog
* Thu Jun 20 2024 heppen <hepeng68@huawei.com> - 1.1.0-8
- Bug fix: Delete the unnecessary comma in the configuration file
* Thu Jun 18 2024 heppen <hepeng68@huawei.com> - 1.1.0-7
- Bug fix: expand msg buffer, wrong code of check if buffer full.
* Wed Jun 12 2024 Zihao Xue <xuezihao@huawei.com> - 1.1.0-6
- Bug fix: heap buffer overflow caused by sending incomplete strings.
- Bug fix: too long strings into QueryProcs causes services broke down.
* Thu Jun 6 2024 heppen <hepeng68@huawei.com> - 1.1.0-5
- Bug fix: SIGPIPE cause powerapi server exit.
- Bug fix: pstree command is too slow to get all pid.
- Bug fix: set smart grid state failed.
- Bug fix: get watt attr and task list is not correct.
* Mon Jun 3 2024 heppen <hepeng68@huawei.com> - 1.1.0-4
- Bug fix: memcpy null pointer, array out of bounds, struct align.
- Bug fix: get watt state will failed at the first time.
- Bug fix: use process name to query pid but return all pids.
- Bug fix: mismatch fopen/pclose and popen/fclose, useless if statement.
* Wed May 29 2024 heppen <hepeng68@huawei.com> - 1.1.0-3
- Bug fix: fix build warning.
- Bug fix: export PWR_SYS_GetRtPowerInfo.
- Bug fix: data collection task intercept invalid task type.
* Sat May 25 2024 heppen <hepeng68@huawei.com> - 1.1.0-2
- Bug fix: Incorrect passing of memory address for process list.
* Fri May 17 2024 heppen <hepeng68@huawei.com> - 1.1.0-1
- Add some new APIs about proc/hbm/cpu.
* Wed Apr 3 2024 heppen <hepeng68@huawei.com> - 1.0.1-4
- Add the dependency on ipmitool.
- Fix bug: Coredump when CPU cores number exceed 248 or numa nodes exceed 16.