Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __PERF_PARSE_EVENTS_HYBRID_H
0003 #define __PERF_PARSE_EVENTS_HYBRID_H
0004 
0005 #include <linux/list.h>
0006 #include <stdbool.h>
0007 #include <linux/types.h>
0008 #include <linux/perf_event.h>
0009 #include <string.h>
0010 
0011 int parse_events__add_numeric_hybrid(struct parse_events_state *parse_state,
0012                      struct list_head *list,
0013                      struct perf_event_attr *attr,
0014                      const char *name, const char *metric_id,
0015                      struct list_head *config_terms,
0016                      bool *hybrid);
0017 
0018 int parse_events__add_cache_hybrid(struct list_head *list, int *idx,
0019                    struct perf_event_attr *attr,
0020                    const char *name, const char *metric_id,
0021                    struct list_head *config_terms,
0022                    bool *hybrid,
0023                    struct parse_events_state *parse_state);
0024 
0025 #endif /* __PERF_PARSE_EVENTS_HYBRID_H */