Linux Perf
syscalltbl.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PERF_SYSCALLTBL_H
3 #define __PERF_SYSCALLTBL_H
4 
5 struct syscalltbl {
6  union {
8  struct {
9  int nr_entries;
10  void *entries;
11  } syscalls;
12  };
13 };
14 
15 struct syscalltbl *syscalltbl__new(void);
16 void syscalltbl__delete(struct syscalltbl *tbl);
17 
18 const char *syscalltbl__name(const struct syscalltbl *tbl, int id);
19 int syscalltbl__id(struct syscalltbl *tbl, const char *name);
20 
21 int syscalltbl__strglobmatch_first(struct syscalltbl *tbl, const char *syscall_glob, int *idx);
22 int syscalltbl__strglobmatch_next(struct syscalltbl *tbl, const char *syscall_glob, int *idx);
23 
24 #endif /* __PERF_SYSCALLTBL_H */
struct syscalltbl::@150::@152 syscalls
int nr_entries
Definition: syscalltbl.h:9
const char * syscalltbl__name(const struct syscalltbl *tbl, int id)
Definition: syscalltbl.c:159
const char * name
int audit_machine
Definition: syscalltbl.h:7
int syscalltbl__id(struct syscalltbl *tbl, const char *name)
Definition: syscalltbl.c:164
void syscalltbl__delete(struct syscalltbl *tbl)
Definition: syscalltbl.c:154
void * entries
Definition: syscalltbl.h:10
int syscalltbl__strglobmatch_first(struct syscalltbl *tbl, const char *syscall_glob, int *idx)
Definition: syscalltbl.c:175
struct syscalltbl * syscalltbl__new(void)
Definition: syscalltbl.c:146
int syscalltbl__strglobmatch_next(struct syscalltbl *tbl, const char *syscall_glob, int *idx)