!71 修复了一些问题

From: @Ericnano33 
Reviewed-by: @heppen 
Signed-off-by: @heppen
This commit is contained in:
openeuler-ci-bot 2024-11-19 03:54:12 +00:00 committed by Gitee
commit c589e09946
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 43 additions and 11 deletions

Binary file not shown.

BIN
powerapi-1.1.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: powerapi
Version: 1.0.1
Release: 4
Version: 1.1.0
Release: 10
Summary: The ability to support openEuler power consumption control.
License: MulanPSL-2.0
@ -8,7 +8,7 @@ URL: https://gitee.com/openeuler/powerapi/
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc,cmake,zip,unzip
Requires: tar,ipmitool
Requires: tar,ipmitool,psmisc,systemd,perf
%description
Including a power API SO and the Power API Service.
@ -16,7 +16,7 @@ Including a power API SO and the Power API Service.
%package -n powerapi-devel
Summary: The ability to support openEuler power consumption control.
BuildRequires: gcc,cmake,zip,unzip
Requires: tar,ipmitool
Requires: tar,ipmitool,psmisc,systemd,perf,powerapi
%description -n powerapi-devel
Contains the client and server components and API header files for powerapi integration development.
@ -45,12 +45,6 @@ systemctl start pwrapis
%preun
systemctl stop pwrapis
%post -n powerapi-devel
systemctl start pwrapis
%preun -n powerapi-devel
systemctl stop pwrapis
%files
%{_sbindir}/pwrapis
%{_libdir}/libpwrapi.so
@ -65,9 +59,47 @@ systemctl stop pwrapis
%{_sysconfdir}/sysconfig/pwrapis/*
%dir %{_includedir}/pwrapic
%{_includedir}/pwrapic/*
%{_sysconfdir}/systemd/system/pwrapis.service
%changelog
* Mon Nov 18 2024 jinye <jinye10@huawei.com> - 1.1.0-10
-Bug fix: Stop eagle cause process block.
-Add some gtest code.
* Mon Jul 15 2024 heppen <hepeng68@huawei.com> - 1.1.0-9
- Bug fix: powerapi-devel start/stop service without pwrapis.service.
* 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.