Skip to content

v0.3.0

Compare
Choose a tag to compare
@osyoyu osyoyu released this 05 Feb 18:22
· 168 commits to main since this release

Added

  • Native stack consolidation
    • Pf2 now records native (C-level) stacks during sample capture.
  • 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.