aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/fuzzer/job.go2
-rw-r--r--pkg/fuzzer/stats.go3
2 files changed, 4 insertions, 1 deletions
diff --git a/pkg/fuzzer/job.go b/pkg/fuzzer/job.go
index 94bb77c50..0f6e0309c 100644
--- a/pkg/fuzzer/job.go
+++ b/pkg/fuzzer/job.go
@@ -368,7 +368,7 @@ func (job *smashJob) faultInjection(fuzzer *Fuzzer) {
newProg.Calls[job.call].Props.FailNth = nth
result := fuzzer.execute(fuzzer.smashQueue, &queue.Request{
Prog: newProg,
- Stat: fuzzer.statExecSmash,
+ Stat: fuzzer.statExecFaultInject,
})
if result.Stop() {
return
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",