Linux Audio

Check our new training course

Loading...
v5.4
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __PERF_SYSCALLTBL_H
 3#define __PERF_SYSCALLTBL_H
 4
 5struct syscalltbl {
 6	union {
 7		int audit_machine;
 8		struct {
 9			int max_id;
10			int nr_entries;
11			void *entries;
12		} syscalls;
13	};
14};
15
16struct syscalltbl *syscalltbl__new(void);
17void syscalltbl__delete(struct syscalltbl *tbl);
18
19const char *syscalltbl__name(const struct syscalltbl *tbl, int id);
20int syscalltbl__id(struct syscalltbl *tbl, const char *name);
21
22int syscalltbl__strglobmatch_first(struct syscalltbl *tbl, const char *syscall_glob, int *idx);
23int syscalltbl__strglobmatch_next(struct syscalltbl *tbl, const char *syscall_glob, int *idx);
24
25#endif /* __PERF_SYSCALLTBL_H */
v4.10.11
 
 1#ifndef __PERF_SYSCALLTBL_H
 2#define __PERF_SYSCALLTBL_H
 3
 4struct syscalltbl {
 5	union {
 6		int audit_machine;
 7		struct {
 
 8			int nr_entries;
 9			void *entries;
10		} syscalls;
11	};
12};
13
14struct syscalltbl *syscalltbl__new(void);
15void syscalltbl__delete(struct syscalltbl *tbl);
16
17const char *syscalltbl__name(const struct syscalltbl *tbl, int id);
18int syscalltbl__id(struct syscalltbl *tbl, const char *name);
 
 
 
19
20#endif /* __PERF_SYSCALLTBL_H */