From 109e2e809d1d88badf051825c3512a25a78e3689 Mon Sep 17 00:00:00 2001
From: Zentrik <Zentrik@users.noreply.github.com>
Date: Sun, 4 Feb 2024 00:13:36 +0000
Subject: [PATCH] Fix typo

This prevented `enable_linux_perf` from being overridden when calling `run`.
---
 src/execution.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/execution.jl b/src/execution.jl
index 86101de1..c2020ad1 100644
--- a/src/execution.jl
+++ b/src/execution.jl
@@ -124,7 +124,7 @@ function _run(b::Benchmark, p::Parameters; verbose=false, pad="", kwargs...)
         iters += 1
     end
 
-    if p.enable_linux_perf
+    if params.enable_linux_perf
         params.gcsample && gcscrub()
         trial.linux_perf_stats = b.linux_perf_func(b.quote_vals, params)
     end