diff options
-rw-r--r-- | tools/perf/util/evsel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index f572f469a30d..a59710f88d8a 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) | |||
598 | switch (term->type) { | 598 | switch (term->type) { |
599 | case PERF_EVSEL__CONFIG_TERM_PERIOD: | 599 | case PERF_EVSEL__CONFIG_TERM_PERIOD: |
600 | attr->sample_period = term->val.period; | 600 | attr->sample_period = term->val.period; |
601 | attr->freq = 0; | ||
601 | break; | 602 | break; |
602 | case PERF_EVSEL__CONFIG_TERM_TIME: | 603 | case PERF_EVSEL__CONFIG_TERM_TIME: |
603 | if (term->val.time) | 604 | if (term->val.time) |