1 // SPDX-License-Identifier: GPL-2.0 2 #include <stdio.h> 3 #include "util/evsel.h" 4 arch_evsel__set_sample_weight(struct evsel * evsel)5 void arch_evsel__set_sample_weight(struct evsel *evsel) 6 { 7 evsel__set_sample_bit(evsel, WEIGHT_STRUCT); 8 } 9