Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/perf/arch/x86/util/topdown.h
26292 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef _TOPDOWN_H
3
#define _TOPDOWN_H 1
4
5
#include <stdbool.h>
6
7
struct evsel;
8
struct list_head;
9
10
bool topdown_sys_has_perf_metrics(void);
11
bool arch_is_topdown_slots(const struct evsel *evsel);
12
bool arch_is_topdown_metrics(const struct evsel *evsel);
13
int topdown_insert_slots_event(struct list_head *list, int idx, struct evsel *metric_event);
14
15
#endif
16
17