• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
11 int parse_events__add_numeric_hybrid(struct parse_events_state *parse_state,
12 				     struct list_head *list,
13 				     struct perf_event_attr *attr,
14 				     char *name, struct list_head *config_terms,
15 				     bool *hybrid);
16 
17 int parse_events__add_cache_hybrid(struct list_head *list, int *idx,
18 				   struct perf_event_attr *attr, char *name,
19 				   struct list_head *config_terms,
20 				   bool *hybrid,
21 				   struct parse_events_state *parse_state);
22 
23 #endif /* __PERF_PARSE_EVENTS_HYBRID_H */
24