perf parse-events: Create two hybrid hardware events
[linux-2.6-microblaze.git] / tools / perf / util / parse-events-hybrid.h
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 #endif /* __PERF_PARSE_EVENTS_HYBRID_H */