Skip to content

Releases: powerapi-ng/hwpc-sensor

v1.4.0

24 Sep 12:28
v1.4.0
8c25c5d
Compare
Choose a tag to compare

v1.4.0 (2024-08-14)

Bug Fixes

  • storage/socket: Disable slash escaping of json stringify function

Build System

  • Add json-c dependency
  • Allow usage of GNU Statement Expression
  • Disable clang-tidy misc-include-cleaner check
  • CMake: Add CMake find module for libpfm4
  • Dockerfile: Update base image to Ubuntu 24.04 LTS
  • deps: Bump softprops/action-gh-release from 2.0.5 to 2.0.6
  • deps: Bump docker/build-push-action from 5.4.0 to 6.0.0
  • deps: Bump softprops/action-gh-release from 2.0.6 to 2.0.7
  • deps: Bump docker/build-push-action from 6.3.0 to 6.4.1
  • deps: Bump docker/setup-buildx-action from 3.3.0 to 3.4.0
  • deps: Bump docker/build-push-action from 6.2.0 to 6.3.0
  • deps: Bump docker/build-push-action from 6.1.0 to 6.2.0
  • deps: Bump docker/build-push-action from 6.0.2 to 6.1.0
  • deps: Bump docker/build-push-action from 6.0.1 to 6.0.2
  • deps: Bump docker/build-push-action from 6.6.1 to 6.7.0
  • deps: Bump docker/build-push-action from 6.0.0 to 6.0.1
  • deps: Bump softprops/action-gh-release from 2.0.7 to 2.0.8
  • deps: Bump docker/build-push-action from 5.3.0 to 5.4.0
  • deps: Bump docker/build-push-action from 6.4.1 to 6.5.0
  • deps: Bump docker/login-action from 3.1.0 to 3.2.0
  • deps: Bump docker/setup-buildx-action from 3.4.0 to 3.5.0
  • deps: Bump softprops/action-gh-release from 2.0.4 to 2.0.5
  • deps: Bump docker/login-action from 3.2.0 to 3.3.0
  • deps: Bump docker/setup-buildx-action from 3.5.0 to 3.6.1
  • deps: Bump docker/build-push-action from 6.5.0 to 6.6.1
  • deps: Bump docker/setup-buildx-action from 3.2.0 to 3.3.0
  • workflows/release: Build container image before publishing the release
  • workflows/release: Use vars for Docker Hub username

Code Refactoring

  • config: Use parameters name instead of cli flags in error logs
  • config: Fix SonarCloud warnings about shadowed variables
  • config: Copy parameters value instead of using optarg pointer
  • config/json: Move missing storage type field error message
  • config/json: Remove the logging of unhelpful parsing errors
  • config/json: Improves handling of null storage module parameters
  • events: Copy strings instead of using the optarg const values
  • sensor: Remove unused bson.h header include
  • storage/socket: Serialize reports with the json-c library
  • util: Remove compiler attribute helper macros

Features

  • Ignore SIGPIPE signal globally
  • config: Improve logging message of empty events group
  • config: Validate the cgroup basepath value
  • config: Store the socket storage port parameter into a str
  • config: Rework cli and json configuration parsers
  • config: Use an union to store the storage modules parameters
  • config/cli: Improves handling of events group type
  • config/json: Improves the error handling of the JSON file parser
  • config/json: Check config filetype before reading
  • config/json: Add expected field type in error messages
  • storage/socket: Send newline-terminated json to the socket
  • util: Add helper macros for unused/format compiler attributes
  • util: Add helper functions to safely convert string to int/uint

Style

  • sensor: Add missing indentation in uname error handling

v1.3.0

29 Mar 10:56
v1.3.0
Compare
Choose a tag to compare

v1.3.0 (2024-03-29)

Build System

  • chglog: Update header pattern to allow / character in scope
  • deps: Bump docker/metadata-action from 5.4.0 to 5.5.0
  • deps: Bump docker/build-push-action from 5.2.0 to 5.3.0
  • deps: Bump github/codeql-action from 2 to 3
  • deps: Bump docker/metadata-action from 5.2.0 to 5.3.0
  • deps: Bump softprops/action-gh-release from 2.0.3 to 2.0.4
  • deps: Bump softprops/action-gh-release from 2.0.2 to 2.0.3
  • deps: Fix version number comment for softprops/action-gh-release
  • deps: Bump softprops/action-gh-release from 1 to 2
  • deps: Bump docker/build-push-action from 5.1.0 to 5.2.0
  • deps: Bump docker/setup-buildx-action from 3.0.0 to 3.1.0
  • deps: Bump docker/metadata-action from 5.5.0 to 5.5.1
  • deps: Bump docker/metadata-action from 5.3.0 to 5.4.0
  • deps: Bump docker/setup-buildx-action from 2.8.0 to 2.9.0
  • deps: Bump docker/setup-buildx-action from 3.1.0 to 3.2.0
  • deps: Bump docker/login-action from 3.0.0 to 3.1.0
  • deps: Bump docker/metadata-action from 5.0.0 to 5.2.0
  • deps: Bump docker/build-push-action from 5.0.0 to 5.1.0
  • deps: Bump docker/setup-buildx-action from 2.10.0 to 3.0.0
  • deps: Bump docker/login-action from 2.2.0 to 3.0.0
  • deps: Bump docker/build-push-action from 4.2.1 to 5.0.0
  • deps: Bump docker/metadata-action from 4.6.0 to 5.0.0
  • deps: Bump docker/build-push-action from 4.1.1 to 4.2.1
  • deps: Bump actions/checkout from 3 to 4
  • deps: Bump docker/setup-buildx-action from 2.9.1 to 2.10.0
  • deps: Bump docker/setup-buildx-action from 2.9.0 to 2.9.1
  • docker: Add dockerignore file

Continuous Integration

  • build: Rename CMake build job
  • release: Disable generation of provenance attestation for container image
  • release: Remove container image signature
  • release: Skip cosign prompt when signing container image
  • release: Sign container image with cosign

Features

  • config: Use cgroups v2 path by default

v1.2.0

29 Jun 17:17
5c6f51d
Compare
Choose a tag to compare

v1.2.0 (2023-06-29)

Bug Fixes

  • Wrong version of libasan installed when building image in debug mode
  • Wrong check of snprintf return value in Kubernetes target
  • Dockerfile: Do not switch to powerapi user by default
  • config: Fix wrong type usage in the parse frequency function

Build System

  • Remove unused Debian source package control file
  • Add clang-format linter configuration file
  • Cleaned CMake project
  • Switch to CMake commands to build the project in Dockerfile
  • Disable DeprecatedOrUnsafeBufferHandling clang tidy check
  • Use C11 standard instead of C99 in CMake project
  • Add workflow for CodeQL analysis
  • Change Docker base image from Debian Buster to Ubuntu 22.04 (LTS)
  • Update clang-tidy configuration
  • Add support for rootless Docker image
  • CMake: Set minimal required version to 3.13
  • Dockerfile: Remove architecture name hardcoding of libpfm4 deb

Code Refactoring

  • Remove VLA usage in hwinfo and target (docker, k8s) modules
  • Fix static analysis warnings about function prototypes
  • Remove unreachable code in target module (compilation warning)
  • Fix warnings about wrong type usage for perf flags
  • Remove build date and time when printing version at startup
  • Remove redundant fflush call before fclose in storage csv
  • Remove SIGPIPE ignore and srand initialization in main
  • Rework of the socket storage module
  • Remove ISO format timestamp conversion in socket storage module
  • Fix static analysis warnings in socket storage module
  • Move the PMU topology print before parsing the config
  • target: Prevent clang format to binpack targets name array

Continuous Integration

  • Add dependabot configuration file
  • Add git-chglog configuration files
  • Add release Github actions workflow
  • Add build/test Github actions workflow
  • Remove deprecated release workflow

Features

  • Verify that perf_event works instead of the root user
  • Add self-test for perf_event_open syscall

v1.1.2

21 Jan 14:56
Compare
Choose a tag to compare

1.1.2 (2022-01-21)

#Fixes with PR :

#21
#17

v1.1.1

15 Dec 13:32
Compare
Choose a tag to compare

1.1.1 (2021-12-15)

Bug Fixes

  • remove warnings (256b54e)
  • Resolve network name for socket output (acb00c)

v1.1.0

28 Sep 14:40
Compare
Choose a tag to compare

1.1.0 (2021-09-28)

Features