xref: /openbmc/linux/tools/perf/arch/x86/util/evsel.c (revision a08b9f2f2267421092bf4b882a9461858216ed47)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <stdio.h>
3 #include "util/evsel.h"
4 
5 void arch_evsel__set_sample_weight(struct evsel *evsel)
6 {
7 	evsel__set_sample_bit(evsel, WEIGHT_STRUCT);
8 }
9