aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/fuzzer/stats.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-06-03 17:18:06 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-06-03 17:29:36 +0000
commita1feae05fded93cda1060cc34fc2f422ce63d975 (patch)
treed3fd64f3570f93839ac994f609121c7fa6041f2e /pkg/fuzzer/stats.go
parent8ba049b23119999229bc89e501f61f54a409857d (diff)
pkg/fuzzer: separate fault injection stats
Let exec smash describe purely the mutation part of the smash job. Introduce a separate stat for fault injection executions.
Diffstat (limited to 'pkg/fuzzer/stats.go')
-rw-r--r--pkg/fuzzer/stats.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/fuzzer/stats.go b/pkg/fuzzer/stats.go
index 2129c048a..a5df691df 100644
--- a/pkg/fuzzer/stats.go
+++ b/pkg/fuzzer/stats.go
@@ -20,6 +20,7 @@ type Stats struct {
statExecTriage *stats.Val
statExecMinimize *stats.Val
statExecSmash *stats.Val
+ statExecFaultInject *stats.Val
statExecHint *stats.Val
statExecSeed *stats.Val
statExecCollide *stats.Val
@@ -50,6 +51,8 @@ func newStats() Stats {
stats.Rate{}, stats.StackedGraph("exec")),
statExecSmash: stats.Create("exec smash", "Executions of smashed programs",
stats.Rate{}, stats.StackedGraph("exec")),
+ statExecFaultInject: stats.Create("exec inject", "Executions of fault injection",
+ stats.Rate{}, stats.StackedGraph("exec")),
statExecHint: stats.Create("exec hints", "Executions of programs generated using hints",
stats.Rate{}, stats.StackedGraph("exec")),
statExecSeed: stats.Create("exec seeds", "Executions of programs for hints extraction",