diff options
Diffstat (limited to 'tools/perf/util/intel-bts.c')
-rw-r--r-- | tools/perf/util/intel-bts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/intel-bts.c b/tools/perf/util/intel-bts.c index 7eb9e6dc27dd..8dc6408206b9 100644 --- a/tools/perf/util/intel-bts.c +++ b/tools/perf/util/intel-bts.c | |||
@@ -818,7 +818,7 @@ static int intel_bts_synth_events(struct intel_bts *bts, | |||
818 | * We only use sample types from PERF_SAMPLE_MASK so we can use | 818 | * We only use sample types from PERF_SAMPLE_MASK so we can use |
819 | * __perf_evsel__sample_size() here. | 819 | * __perf_evsel__sample_size() here. |
820 | */ | 820 | */ |
821 | bts->branches_event_size = sizeof(struct sample_event) + | 821 | bts->branches_event_size = sizeof(struct perf_record_sample) + |
822 | __perf_evsel__sample_size(attr.sample_type); | 822 | __perf_evsel__sample_size(attr.sample_type); |
823 | } | 823 | } |
824 | 824 | ||