]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - tools/perf/util/syscalltbl.h
Input: wm97xx: add new AC97 bus support
[mirror_ubuntu-focal-kernel.git] / tools / perf / util / syscalltbl.h
1 #ifndef __PERF_SYSCALLTBL_H
2 #define __PERF_SYSCALLTBL_H
3
4 struct syscalltbl {
5 union {
6 int audit_machine;
7 struct {
8 int nr_entries;
9 void *entries;
10 } syscalls;
11 };
12 };
13
14 struct syscalltbl *syscalltbl__new(void);
15 void syscalltbl__delete(struct syscalltbl *tbl);
16
17 const char *syscalltbl__name(const struct syscalltbl *tbl, int id);
18 int syscalltbl__id(struct syscalltbl *tbl, const char *name);
19
20 int syscalltbl__strglobmatch_first(struct syscalltbl *tbl, const char *syscall_glob, int *idx);
21 int syscalltbl__strglobmatch_next(struct syscalltbl *tbl, const char *syscall_glob, int *idx);
22
23 #endif /* __PERF_SYSCALLTBL_H */