parse-events.h (6a4bb04caacc8c2d06f345130e9086e3fea38ca7) parse-events.h (63dab225f334e0e21f7106aed8d888b500b53ce6)
1#ifndef __PERF_PARSE_EVENTS_H
2#define __PERF_PARSE_EVENTS_H
3/*
4 * Parse symbolic events/counts passed in as options:
5 */
6
7#include <linux/list.h>
8#include <stdbool.h>

--- 78 unchanged lines hidden (view full) ---

87 u32 type, u64 config,
88 struct list_head *head_config);
89int parse_events_add_cache(struct list_head **list, int *idx,
90 char *type, char *op_result1, char *op_result2);
91int parse_events_add_breakpoint(struct list_head **list, int *idx,
92 void *ptr, char *type);
93int parse_events_add_pmu(struct list_head **list, int *idx,
94 char *pmu , struct list_head *head_config);
1#ifndef __PERF_PARSE_EVENTS_H
2#define __PERF_PARSE_EVENTS_H
3/*
4 * Parse symbolic events/counts passed in as options:
5 */
6
7#include <linux/list.h>
8#include <stdbool.h>

--- 78 unchanged lines hidden (view full) ---

87 u32 type, u64 config,
88 struct list_head *head_config);
89int parse_events_add_cache(struct list_head **list, int *idx,
90 char *type, char *op_result1, char *op_result2);
91int parse_events_add_breakpoint(struct list_head **list, int *idx,
92 void *ptr, char *type);
93int parse_events_add_pmu(struct list_head **list, int *idx,
94 char *pmu , struct list_head *head_config);
95struct perf_evsel *parse_events__set_leader(struct list_head *list);
96void parse_events__group(char *name, struct list_head *list);
95void parse_events__set_leader(char *name, struct list_head *list);
97void parse_events_update_lists(struct list_head *list_event,
98 struct list_head *list_all);
99void parse_events_error(void *data, void *scanner, char const *msg);
100int parse_events__test(void);
101
102void print_events(const char *event_glob, bool name_only);
103void print_events_type(u8 type);
104void print_tracepoint_events(const char *subsys_glob, const char *event_glob,
105 bool name_only);
106int print_hwcache_events(const char *event_glob, bool name_only);
107extern int is_valid_tracepoint(const char *event_string);
108
109extern int valid_debugfs_mount(const char *debugfs);
110
111#endif /* __PERF_PARSE_EVENTS_H */
96void parse_events_update_lists(struct list_head *list_event,
97 struct list_head *list_all);
98void parse_events_error(void *data, void *scanner, char const *msg);
99int parse_events__test(void);
100
101void print_events(const char *event_glob, bool name_only);
102void print_events_type(u8 type);
103void print_tracepoint_events(const char *subsys_glob, const char *event_glob,
104 bool name_only);
105int print_hwcache_events(const char *event_glob, bool name_only);
106extern int is_valid_tracepoint(const char *event_string);
107
108extern int valid_debugfs_mount(const char *debugfs);
109
110#endif /* __PERF_PARSE_EVENTS_H */