diff options
Diffstat (limited to 'tools/perf/util/parse-events.c')
-rw-r--r-- | tools/perf/util/parse-events.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 880070c02fd2..3b4ec6797565 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c | |||
@@ -422,6 +422,8 @@ parse_single_tracepoint_event(char *sys_name, | |||
422 | attr->sample_type |= PERF_SAMPLE_TIME; | 422 | attr->sample_type |= PERF_SAMPLE_TIME; |
423 | attr->sample_type |= PERF_SAMPLE_CPU; | 423 | attr->sample_type |= PERF_SAMPLE_CPU; |
424 | 424 | ||
425 | attr->sample_period = 1; | ||
426 | |||
425 | snprintf(evt_path, MAXPATHLEN, "%s/%s/%s/id", debugfs_path, | 427 | snprintf(evt_path, MAXPATHLEN, "%s/%s/%s/id", debugfs_path, |
426 | sys_name, evt_name); | 428 | sys_name, evt_name); |
427 | 429 | ||