Skip to content

Commit 7c850d7

Browse files
committed
userspace-resource-manager: Update to 0.2
CHANGES for 0.2: * Added Classifier support to listen to and respond to incoming process events, in the 0.1 release classifier was disabled by default as the module was in active development, this release enables it. * Added support for custom AppConfigs to support use case specific per-app configurations. * Extended support for multiple Plugins, to influence config selection and addition of custom resource Appliers and Teardown Callbacks. * Enhanced config parser to support common, target specific as well as custom configs. * Bug fixes for memory leaks and memory increase patterns seen in 0.1 * Renaming and Addition of new Interfaces, URM_REGISTER_POST_PROCESS_CB, GET_TARGET_INFO which can be used by plugins to register with URM, and fetch target-related information (like core, cluster mappings, CPU masks etc.) respectively. * Added test cases for classifier, better support for running tests and generating results. Signed-off-by: Kartik Nema <kartnema@qti.qualcomm.com>
1 parent b062add commit 7c850d7

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

recipes-support/userspace-resource-manager/userspace-resource-manager_0.1.bb renamed to recipes-support/userspace-resource-manager/userspace-resource-manager_0.2.bb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ LICENSE = "BSD-3-Clause-Clear"
88
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2998c54c288b081076c9af987bdf4838"
99

1010
SRC_URI = "git://github.com/qualcomm/userspace-resource-manager.git;protocol=https;branch=main;tag=v${PV}"
11-
SRCREV = "2e4383baad53acbeb93ab63b409b8cb47f996e6d"
11+
SRCREV = "659e283c60ccd10e7d5320e8673a650cf2d3336f"
1212

1313
inherit cmake pkgconfig systemd
1414

1515
DEPENDS += "libyaml"
1616

1717
PACKAGECONFIG ??= "\
18+
classifier \
1819
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'state-detector systemd', '', d)} \
1920
tests \
2021
"
@@ -25,13 +26,14 @@ PACKAGECONFIG[systemd] = ",,systemd"
2526
PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON,-DBUILD_TESTS=OFF"
2627

2728
SYSTEMD_SERVICE:${PN} = "urm.service"
29+
FILES:${PN}-dev += "${libdir}/urm/libUrmTestPlugin.so"
2830
FILES:${PN} += "${sysconfdir}/urm/*"
2931

3032
PACKAGE_BEFORE_PN += "${PN}-tests"
3133
FILES:${PN}-tests += " \
3234
${sysconfdir}/urm/tests/* \
33-
${bindir}/RestuneComponentTests \
34-
${bindir}/RestuneIntegrationTests \
35+
${bindir}/UrmComponentTests \
36+
${bindir}/UrmIntegrationTests \
3537
${libdir}/libRestuneTestUtils.so* \
36-
${libdir}/libRestunePlugin.so* \
38+
${libdir}/urm/libUrmTestPlugin.so* \
3739
"

0 commit comments

Comments
 (0)