20 lines
431 B
C
20 lines
431 B
C
|
#ifndef __PERF_EVLIST_H
|
||
|
#define __PERF_EVLIST_H 1
|
||
|
|
||
|
#include <linux/list.h>
|
||
|
|
||
|
struct perf_evlist {
|
||
|
struct list_head entries;
|
||
|
int nr_entries;
|
||
|
};
|
||
|
|
||
|
struct perf_evsel;
|
||
|
|
||
|
struct perf_evlist *perf_evlist__new(void);
|
||
|
void perf_evlist__delete(struct perf_evlist *evlist);
|
||
|
|
||
|
void perf_evlist__add(struct perf_evlist *evlist, struct perf_evsel *entry);
|
||
|
int perf_evlist__add_default(struct perf_evlist *evlist);
|
||
|
|
||
|
#endif /* __PERF_EVLIST_H */
|