xref: /linux/tools/perf/util/topdown.h (revision 6c8c1406)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef TOPDOWN_H
3 #define TOPDOWN_H 1
4 #include "evsel.h"
5 #include "evlist.h"
6 
7 bool arch_topdown_check_group(bool *warn);
8 void arch_topdown_group_warn(void);
9 bool arch_topdown_sample_read(struct evsel *leader);
10 const char *arch_get_topdown_pmu_name(struct evlist *evlist, bool warn);
11 int topdown_filter_events(const char **attr, char **str, bool use_group,
12 			  const char *pmu_name);
13 
14 #endif
15