diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
index f572f469a30d6f4a5c666bb80286389e6ff19930..a59710f88d8acb91a1567c5d082f2b7d6c3c54ba 100644
--- a/tools/perf/util/evsel.c
+++ b/tools/perf/util/evsel.c
@@ -598,6 +598,7 @@ static void apply_config_terms(struct perf_evsel *evsel)
 		switch (term->type) {
 		case PERF_EVSEL__CONFIG_TERM_PERIOD:
 			attr->sample_period = term->val.period;
+			attr->freq = 0;
 			break;
 		case PERF_EVSEL__CONFIG_TERM_TIME:
 			if (term->val.time)