- #8 pkg-config file is broken when CMAKE_INSTALL_{INCLUDE,LIB}DIR is absolute (Alex Shpilkin)
- CMake: uninstall script: CMP0153 developer warning about using
exec_program
.
v0.6.0 - 2022-05-13
- powercap-info: control type name no longer required - will print info for all control types if not set
- Powercap CMake package config helper now uses package-specific name for global components variable. See CMake Issue #23112 and CMake Merge Request #6975 for reasoning and technical details.
- Internal tweaks based on testing with additional compiler flags
v0.5.0 - 2021-12-09
- CMake installation components
- Increased minimum CMake version from 3.1 to 3.12
- CMake package config now exports binaries in a 'Utils' component rather than parent package
v0.4.0 - 2021-04-25
- powercap.h: header documentation for 'powercap_*_file_get_name' functions' return behavior
- rapl-{info,set}: deprecation messages that specified non-existent alternatives
- Functions to support opening files in powercap.h:
- 'powercap_control_type_file_open'
- 'powercap_zone_file_open'
- 'powercap_constraint_file_open'
- CMake helper to find powercap without relying on pkg-config
- Binaries powercap-{info,set} now accept the control type argument without requiring a preceding -p flag
- Increased minimum CMake version from 2.8.12 to 3.1
- Flag '-p/--control-type' in powercap-{info,set} - specify control type name as the first positional argument instead
- Add compiler deprecation attributes to deprecated functions
v0.3.1 - 2020-11-08
- #6 powercap-common-test:test_snprintf_base_path fails on ppc64el architecture
v0.3.0 - 2020-08-15
- Support for top-level control type
- Struct 'powercap_control_type', enum 'powercap_control_type_file', and associated functions in powercap.h:
- 'powercap_control_type_get_enabled'
- 'powercap_control_type_set_enabled'
- 'powercap_control_type_file_get_name'
- Functions in powercap-sysfs.h:
- 'powercap_sysfs_control_type_get_enabled'
- 'powercap_sysfs_control_type_set_enabled'
- Functions in powercap-rapl.h:
- 'powercap_rapl_control_is_supported'
- 'powercap_rapl_control_is_enabled'
- 'powercap_rapl_control_set_enabled'
- Argument '--enabled' to powercap-{info,set} for getting/setting control type enabled field
- Struct 'powercap_control_type', enum 'powercap_control_type_file', and associated functions in powercap.h:
- Function 'powercap_rapl_get_num_instances' in powercap-rapl.h (supersedes 'powercap_rapl_get_num_packages')
- Argument '--nconstraints' to powercap-info for getting the number of zone constraints
- Increased minimum CMake version from 2.8.5 to 2.8.12 to support target_compile_definitions
- Updated 'powercap-{info,set}' man pages
- Argument '--zone' for powercap-set no longer required due to introduction of '--enabled' argument
- Disabled logging by default (in general, libraries shouldn't print output unless requested)
- Binaries rapl-{info,set} - use powercap-{info,set} instead
- Interface powercap-rapl-sysfs.h - use powercap-sysfs.h directly instead
- Function 'powercap_rapl_get_num_packages' in powercap-rapl.h - use 'powercap_rapl_get_num_instances' instead
- Fixed #4: powercap-rapl now checks if parent zone is PACKAGE or PSYS
v0.2.0 - 2019-12-03
- This RELEASES.md file
- Multiarch support (use GNU standard installation directories)
- Additional documentation in README
- Function 'rapl_sysfs_zone_exists' in powercap-rapl-sysfs.h
- Command line long option '--zone' to rapl-info and rapl-set
- Functions to powercap-rapl-sysfs.h allowed by the powercap API that RAPL doesn't support (but could in the future)
- Options to rapl-info and rapl-set to support optional powercap features not currently implemented in RAPL
- Increased minimum CMake version from 2.8 to 2.8.5 to support GNUInstallDirs
- More pedantic man page source formatting
- RAPL sysfs 'pkg' parameter names changed to 'zone' to improve generality
- RAPL 'package' parameter names changed to 'id' to improve generality
- On failure, binaries now exit with positive error codes instead of negative values
- Function 'rapl_sysfs_pkg_exists' in powercap-rapl-sysfs.h - use 'rapl_sysfs_zone_exists' instead
- Function 'rapl_sysfs_sz_exists' in powercap-rapl-sysfs.h - use 'rapl_sysfs_zone_exists' instead
- Command line long option '--package' for rapl-info and rapl-set - use '--zone' instead
- Removed private symbol exports in shared object library (already patched in Debian)
- Undocumented (and unintended) --package long option from powercap-set
- Fixed #1: Kernel uses hexadecimal numbers in directory paths, not decimal
v0.1.1 - 2017-09-21
- Added stateless interfaces to sysfs
- Added powercap-info, powercap-set, rapl-info, and rapl-set binaries and man pages
- Added VERSION and SOVERSION to shared object libraries
- Update license to use author as copyright holder
- Initial public release