diff options
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r-- | tools/perf/builtin-script.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 9b43bda45a41..ee7c7aaaae72 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -423,11 +423,6 @@ static int perf_evsel__check_attr(struct perf_evsel *evsel, | |||
423 | PERF_OUTPUT_CPU, allow_user_set)) | 423 | PERF_OUTPUT_CPU, allow_user_set)) |
424 | return -EINVAL; | 424 | return -EINVAL; |
425 | 425 | ||
426 | if (PRINT_FIELD(PERIOD) && | ||
427 | perf_evsel__check_stype(evsel, PERF_SAMPLE_PERIOD, "PERIOD", | ||
428 | PERF_OUTPUT_PERIOD)) | ||
429 | return -EINVAL; | ||
430 | |||
431 | if (PRINT_FIELD(IREGS) && | 426 | if (PRINT_FIELD(IREGS) && |
432 | perf_evsel__check_stype(evsel, PERF_SAMPLE_REGS_INTR, "IREGS", | 427 | perf_evsel__check_stype(evsel, PERF_SAMPLE_REGS_INTR, "IREGS", |
433 | PERF_OUTPUT_IREGS)) | 428 | PERF_OUTPUT_IREGS)) |