Lines Matching refs:feat
76 void perf_header__set_feat(struct perf_header *header, int feat) in perf_header__set_feat() argument
78 set_bit(feat, header->adds_features); in perf_header__set_feat()
81 void perf_header__clear_feat(struct perf_header *header, int feat) in perf_header__clear_feat() argument
83 clear_bit(feat, header->adds_features); in perf_header__clear_feat()
86 bool perf_header__has_feat(const struct perf_header *header, int feat) in perf_header__has_feat() argument
88 return test_bit(feat, header->adds_features); in perf_header__has_feat()
3137 int feat, int fd, void *data) in perf_file_section__fprintf_info() argument
3144 "%d, continuing...\n", section->offset, feat); in perf_file_section__fprintf_info()
3147 if (feat >= HEADER_LAST_FEATURE) { in perf_file_section__fprintf_info()
3148 pr_warning("unknown feature %d\n", feat); in perf_file_section__fprintf_info()
3151 if (!feat_ops[feat].print) in perf_file_section__fprintf_info()
3159 if (!feat_ops[feat].full_only || hd->full) in perf_file_section__fprintf_info()
3160 feat_ops[feat].print(&ff, hd->fp); in perf_file_section__fprintf_info()
3163 feat_ops[feat].name); in perf_file_section__fprintf_info()
3247 int feat; in perf_header__adds_write() local
3268 for_each_set_bit(feat, header->adds_features, HEADER_FEAT_BITS) { in perf_header__adds_write()
3269 if (do_write_feat(&ff, feat, &p, evlist)) in perf_header__adds_write()
3270 perf_header__clear_feat(header, feat); in perf_header__adds_write()
3402 int feat, int fd, void *data)) in perf_header__process_sections() argument
3407 int feat; in perf_header__process_sections() local
3426 for_each_set_bit(feat, header->adds_features, HEADER_LAST_FEATURE) { in perf_header__process_sections()
3427 err = process(sec++, header, feat, fd, data); in perf_header__process_sections()
3628 int feat, int fd, void *data) in perf_file_section__process() argument
3639 "%d, continuing...\n", section->offset, feat); in perf_file_section__process()
3643 if (feat >= HEADER_LAST_FEATURE) { in perf_file_section__process()
3644 pr_debug("unknown feature %d, continuing...\n", feat); in perf_file_section__process()
3648 if (!feat_ops[feat].process) in perf_file_section__process()
3651 return feat_ops[feat].process(&fdd, data); in perf_file_section__process()
3912 u64 feat = fe->feat_id; in perf_event__process_feature() local
3918 if (feat == HEADER_RESERVED || feat >= HEADER_LAST_FEATURE) { in perf_event__process_feature()
3923 if (!feat_ops[feat].process) in perf_event__process_feature()
3930 if (feat_ops[feat].process(&ff, NULL)) in perf_event__process_feature()
3933 if (!feat_ops[feat].print || !tool->show_feat_hdr) in perf_event__process_feature()
3936 if (!feat_ops[feat].full_only || in perf_event__process_feature()
3938 feat_ops[feat].print(&ff, stdout); in perf_event__process_feature()
3941 feat_ops[feat].name); in perf_event__process_feature()