xref: /openbmc/linux/tools/perf/util/print-events.h (revision 9b7c7728)
1*9b7c7728SIan Rogers /* SPDX-License-Identifier: GPL-2.0 */
2*9b7c7728SIan Rogers #ifndef __PERF_PRINT_EVENTS_H
3*9b7c7728SIan Rogers #define __PERF_PRINT_EVENTS_H
4*9b7c7728SIan Rogers 
5*9b7c7728SIan Rogers #include <stdbool.h>
6*9b7c7728SIan Rogers 
7*9b7c7728SIan Rogers struct event_symbol;
8*9b7c7728SIan Rogers 
9*9b7c7728SIan Rogers void print_events(const char *event_glob, bool name_only, bool quiet_flag,
10*9b7c7728SIan Rogers 		  bool long_desc, bool details_flag, bool deprecated,
11*9b7c7728SIan Rogers 		  const char *pmu_name);
12*9b7c7728SIan Rogers int print_hwcache_events(const char *event_glob, bool name_only);
13*9b7c7728SIan Rogers void print_sdt_events(const char *subsys_glob, const char *event_glob,
14*9b7c7728SIan Rogers 		      bool name_only);
15*9b7c7728SIan Rogers void print_symbol_events(const char *event_glob, unsigned int type,
16*9b7c7728SIan Rogers 			 struct event_symbol *syms, unsigned int max,
17*9b7c7728SIan Rogers 			 bool name_only);
18*9b7c7728SIan Rogers void print_tool_events(const char *event_glob, bool name_only);
19*9b7c7728SIan Rogers void print_tracepoint_events(const char *subsys_glob, const char *event_glob,
20*9b7c7728SIan Rogers 			     bool name_only);
21*9b7c7728SIan Rogers 
22*9b7c7728SIan Rogers #endif /* __PERF_PRINT_EVENTS_H */
23