aboutsummaryrefslogtreecommitdiffstats
path: root/syz-manager/stats.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-07-05 15:41:55 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-07-11 09:03:37 +0000
commit6ca1eb5a578bb1421ad0f3dbde675eb34647e6d7 (patch)
tree935c35d1225bcd55b0d413796168c758734af0f9 /syz-manager/stats.go
parentfc2b083017012b4afbd9324fc6525e34a19aa0b3 (diff)
all: transition to instance.Pool
Rely on instance.Pool to perform fuzzing and do bug reproductions. Extract the reproduction queue logic to separate testable class.
Diffstat (limited to 'syz-manager/stats.go')
-rw-r--r--syz-manager/stats.go17
1 files changed, 7 insertions, 10 deletions
diff --git a/syz-manager/stats.go b/syz-manager/stats.go
index cffa7e4c1..dced8fc87 100644
--- a/syz-manager/stats.go
+++ b/syz-manager/stats.go
@@ -13,19 +13,16 @@ import (
)
type Stats struct {
- statNumReproducing *stats.Val
- statCrashes *stats.Val
- statCrashTypes *stats.Val
- statSuppressed *stats.Val
- statUptime *stats.Val
- statFuzzingTime *stats.Val
- statAvgBootTime *stats.Val
- statCoverFiltered *stats.Val
+ statCrashes *stats.Val
+ statCrashTypes *stats.Val
+ statSuppressed *stats.Val
+ statUptime *stats.Val
+ statFuzzingTime *stats.Val
+ statAvgBootTime *stats.Val
+ statCoverFiltered *stats.Val
}
func (mgr *Manager) initStats() {
- mgr.statNumReproducing = stats.Create("reproducing", "Number of crashes being reproduced",
- stats.Console, stats.NoGraph)
mgr.statCrashes = stats.Create("crashes", "Total number of VM crashes",
stats.Simple, stats.Prometheus("syz_crash_total"))
mgr.statCrashTypes = stats.Create("crash types", "Number of unique crashes types",