parse-events-hybrid.h (805B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __PERF_PARSE_EVENTS_HYBRID_H 3#define __PERF_PARSE_EVENTS_HYBRID_H 4 5#include <linux/list.h> 6#include <stdbool.h> 7#include <linux/types.h> 8#include <linux/perf_event.h> 9#include <string.h> 10 11int parse_events__add_numeric_hybrid(struct parse_events_state *parse_state, 12 struct list_head *list, 13 struct perf_event_attr *attr, 14 const char *name, const char *metric_id, 15 struct list_head *config_terms, 16 bool *hybrid); 17 18int parse_events__add_cache_hybrid(struct list_head *list, int *idx, 19 struct perf_event_attr *attr, 20 const char *name, const char *metric_id, 21 struct list_head *config_terms, 22 bool *hybrid, 23 struct parse_events_state *parse_state); 24 25#endif /* __PERF_PARSE_EVENTS_HYBRID_H */