Sha256: 5e8d117be4a8afbb0c170804cd20b76e3d240e901eb37968f24cfd1bc9c8369f

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

## [Unreleased]


## [0.3.0] - 2024-02-05

### Added

- Native stack consolidation
  - Pf2 now records native (C-level) stacks during sample capture.
    - This functionality is based on [libbacktrace](https://github.com/ianlancetaylor/libbacktrace).
- New configuration interface for `Pf2.start`, `Pf2::SignalScheduler.start`, `Pf2::TimerThreadScheduler.start`
  - They now accept keyword arguments (`interval_ms`, `threads`, `time_mode`, `track_new_threads`).
- New configuration options
  - `interval_ms`: The sampling interval.
  - `time_mode` (`:wall` or `:cpu`): The sampling timer's _mode_. `:wall` is wall-clock time (CLOCK_MONOTONIC to be specific), `:cpu` is per-thread CPU time (CLOCK_THREAD_CPUTIME_ID).

### Removed

- Configuration through positional arguments is no longer supported.


## [0.2.0] - 2024-01-21

- New Ruby interface: Pf2.start, Pf2.stop, Pf2.profile
- Introduce the concepts of Schedulers
  - Implement SignalScheduler and TimerThreadScheduler
- Rewritten many components


## [0.1.0] - 2023-10-04

- Initial release

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pf2-0.3.0 CHANGELOG.md