!110 [sync] PR-109: add smc_acc.yaml and fix type error
From: @openeuler-sync-bot Reviewed-by: @ksana123 Signed-off-by: @ksana123
This commit is contained in:
commit
0cc249d7d9
30
0007-fix-return-value-type-of-the-function.patch
Normal file
30
0007-fix-return-value-type-of-the-function.patch
Normal file
@ -0,0 +1,30 @@
|
||||
From ce33a2407474a0a061b29ff8dd14ceb9f4515807 Mon Sep 17 00:00:00 2001
|
||||
From: fly_1997 <flylove7@outlook.com>
|
||||
Date: Sat, 15 Mar 2025 16:04:23 +0800
|
||||
Subject: [PATCH] fix return value type of the function
|
||||
|
||||
---
|
||||
src/client/analysis/config.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/client/analysis/config.h b/src/client/analysis/config.h
|
||||
index 052d9e0..179c510 100644
|
||||
--- a/src/client/analysis/config.h
|
||||
+++ b/src/client/analysis/config.h
|
||||
@@ -36,11 +36,11 @@ public:
|
||||
{
|
||||
return showVerbose;
|
||||
}
|
||||
- int GetL1MissThreshold() const
|
||||
+ double GetL1MissThreshold() const
|
||||
{
|
||||
return l1MissThreshold;
|
||||
}
|
||||
- int GetL2MissThreshold() const
|
||||
+ double GetL2MissThreshold() const
|
||||
{
|
||||
return l2MissThreshold;
|
||||
}
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: oeAware-manager
|
||||
Version: v2.0.2
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: OeAware is a framework for implementing low-load collection, sensing, and tuning on openEuler.
|
||||
License: MulanPSL2
|
||||
URL: https://gitee.com/openeuler/%{name}
|
||||
@ -11,6 +11,7 @@ Patch3: 0003-update-numafast-version.patch
|
||||
Patch4: 0004-InfocmdHandler-add-the-display-of-running-status.patch
|
||||
Patch5: 0005-add-parameter-detection.patch
|
||||
Patch6: 0006-fix-issues.patch
|
||||
Patch7: 0007-fix-return-value-type-of-the-function.patch
|
||||
|
||||
BuildRequires: cmake make gcc-c++
|
||||
BuildRequires: boost-devel
|
||||
@ -70,6 +71,7 @@ install -b -m740 ./build/output/sdk/liboeaware-sdk.so %{buildroot}%{
|
||||
install -D -m 0640 ./build/output/plugin/lib/thread_scenario.conf %{buildroot}%{_libdir}/oeAware-plugin/
|
||||
install -D -m 0640 ./build/output/plugin/lib/ub_tune.conf %{buildroot}%{_libdir}/oeAware-plugin/
|
||||
install -D -m 0640 ./build/output/plugin/lib/xcall.yaml %{buildroot}%{_libdir}/oeAware-plugin/
|
||||
install -D -m 0640 ./build/output/plugin/lib/smc_acc.yaml %{buildroot}%{_libdir}/oeAware-plugin/
|
||||
install -D -m 0400 ./build/output/plugin/ko/smc_acc.ko %{buildroot}%{_prefix}/lib/smc
|
||||
|
||||
%preun
|
||||
@ -100,6 +102,7 @@ fi
|
||||
%attr(0640, root, root) %{_libdir}/oeAware-plugin/ub_tune.conf
|
||||
%attr(0640, root, root) %{_libdir}/oeAware-plugin/thread_scenario.conf
|
||||
%attr(0640, root, root) %{_libdir}/oeAware-plugin/xcall.yaml
|
||||
%attr(0640, root, root) %{_libdir}/oeAware-plugin/smc_acc.yaml
|
||||
%attr(0400, root, root) %{_prefix}/lib/smc/smc_acc.ko
|
||||
%attr(0440, root, root) %{_libdir}/oeAware-plugin/*.so
|
||||
%attr(0440, root, root) %{_libdir}/liboeaware-sdk.so
|
||||
@ -109,6 +112,10 @@ fi
|
||||
%attr(0644, root, root) %{_includedir}/oeaware/data/*.h
|
||||
|
||||
%changelog
|
||||
* Wed Mar 19 2025 fly_1997 <flylove7@outlook.com> -v2.0.2-5
|
||||
- add smc_acc.yaml
|
||||
- fix type error
|
||||
|
||||
* Sat Mar 15 2025 fly_1997 <flylove7@outlook.com> -v2.0.2-4
|
||||
- use double for analysis tlb parameters
|
||||
- if an error occurs during smc config loading, smc_tune fails to be enabled
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user