eventlog-socket-control 0.1.0.0 → 0.1.1.0
raw patch · 3 files changed
+30/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ GHC.Eventlog.Socket.Control: startProfiling :: Command
+ GHC.Eventlog.Socket.Control: stopProfiling :: Command
Files
- CHANGELOG.md +6/−1
- eventlog-socket-control.cabal +2/−2
- src/GHC/Eventlog/Socket/Control.hs +22/−0
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for eventlog-socket-command +## 0.1.1.0 -- 2026-04-06++- Add support for builtin `startProfiling` and `stopProfiling` control commands.+ ## 0.1.0.0 -- 2026-03-04 -* First version. Released on an unsuspecting world.+- Add support the binary control command protocol version 0.+- Add support for builtin `startHeapProfiling`, `stopHeapProfiling`, and `requestHeapCensus` control commands.
eventlog-socket-control.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: eventlog-socket-control-version: 0.1.0.0+version: 0.1.1.0 synopsis: Control command protocol for eventlog-socket. description: The @eventlog-socket-control@ package contains utilities for creating messages for @eventlog-socket@'s control command protocol.@@ -29,7 +29,7 @@ source-repository this type: git location: https://github.com/well-typed/eventlog-socket.git- tag: eventlog-socket-control-0.1.0.0+ tag: eventlog-socket-control-0.1.1.0 subdir: eventlog-socket-control common language
src/GHC/Eventlog/Socket/Control.hs view
@@ -31,6 +31,8 @@ Command, CommandId (..), Namespace,+ startProfiling,+ stopProfiling, startHeapProfiling, stopHeapProfiling, requestHeapCensus,@@ -374,6 +376,26 @@ -------------------------------------------------------------------------------- -- Builtin Commands --------------------------------------------------------------------------------++{- |+The builtin control command message that starts profiling.++See `GHC.Profiling.startProfTimer`.++@since 0.1.1.0+-}+startProfiling :: Command+startProfiling = Command eventlogSocketNamespace (CommandId 1)++{- |+The builtin control command message that stops profiling.++See `GHC.Profiling.stopProfTimer`.++@since 0.1.1.0+-}+stopProfiling :: Command+stopProfiling = Command eventlogSocketNamespace (CommandId 2) {- | The builtin control command message that starts heap profiling.