Skip to content

v0.8.0

Choose a tag to compare

@jmuehlig jmuehlig released this 27 Oct 10:20
· 602 commits to dev since this release
  • Restructured the build system – thanks to @foolnotion:
    • Examples are no longer included in the default build and must be activated with -DBUILD_EXAMPLES=1.
    • New feature: Added option to install the library using -DCMAKE_INSTALL_PREFIX=/path/to/libperf-cpp.
  • New feature: Define period or frequency along with trigger events when sampling.
  • New feature: cgroup sampling.
  • New feature: Sampling for context switches.
  • New feature: Sampling for throttle events.
  • New feature: Sampling for raw values.
  • New feature: Sampling for transaction aborts.
  • New feature: Print results from perf::EventCounter as a table using perf::CounterResult::to_string().
  • Automatically discover AMD IBS PMUs when running on AMD hardware.
  • Automatically discover Intel PEBS memory (loads, stores) events when running on Intel hardware.
  • Enable Intel PEBS by default (used interrupt-based sampling so far, if not specified otherwise in perf::SampleConfig::precise_ip()).
  • Support Linux Kernel down to 4.0 – Kernels no longer need to be specified via compiler defines.
  • Close the sampler automatically (i.e., free all buffers and close counters) when destructing.