Home | History | Annotate | Download | only in util

Lines Matching defs:feat

51 void perf_header__set_feat(struct perf_header *header, int feat)
53 set_bit(feat, header->adds_features);
56 void perf_header__clear_feat(struct perf_header *header, int feat)
58 clear_bit(feat, header->adds_features);
61 bool perf_header__has_feat(const struct perf_header *header, int feat)
63 return test_bit(feat, header->adds_features);
2163 int feat, int fd, void *data)
2169 "%d, continuing...\n", section->offset, feat);
2172 if (feat >= HEADER_LAST_FEATURE) {
2173 pr_warning("unknown feature %d\n", feat);
2176 if (!feat_ops[feat].print)
2179 if (!feat_ops[feat].full_only || hd->full)
2180 feat_ops[feat].print(ph, fd, hd->fp);
2183 feat_ops[feat].name);
2236 int feat;
2252 for_each_set_bit(feat, header->adds_features, HEADER_FEAT_BITS) {
2253 if (do_write_feat(fd, header, feat, &p, evlist))
2254 perf_header__clear_feat(header, feat);
2380 int feat, int fd, void *data))
2385 int feat;
2404 for_each_set_bit(feat, header->adds_features, HEADER_LAST_FEATURE) {
2405 err = process(sec++, header, feat, fd, data);
2605 int feat, int fd, void *data)
2609 "%d, continuing...\n", section->offset, feat);
2613 if (feat >= HEADER_LAST_FEATURE) {
2614 pr_debug("unknown feature %d, continuing...\n", feat);
2618 if (!feat_ops[feat].process)
2621 return feat_ops[feat].process(section, ph, fd, data);