1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PERF_SYSCALLTBL_H
3 #define __PERF_SYSCALLTBL_H
14 struct syscalltbl
*syscalltbl__new(void);
15 void syscalltbl__delete(struct syscalltbl
*tbl
);
17 const char *syscalltbl__name(const struct syscalltbl
*tbl
, int id
);
18 int syscalltbl__id(struct syscalltbl
*tbl
, const char *name
);
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
);
23 #endif /* __PERF_SYSCALLTBL_H */