Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 566cf877a1fcb6d6dc0126b076aad062054c2637 authored by Linus Torvalds on 29 January 2017, 22:25:17 UTC
Linux 4.10-rc6
Tip revision: 566cf87
syscalltbl.h
#ifndef __PERF_SYSCALLTBL_H
#define __PERF_SYSCALLTBL_H

struct syscalltbl {
	union {
		int audit_machine;
		struct {
			int nr_entries;
			void *entries;
		} syscalls;
	};
};

struct syscalltbl *syscalltbl__new(void);
void syscalltbl__delete(struct syscalltbl *tbl);

const char *syscalltbl__name(const struct syscalltbl *tbl, int id);
int syscalltbl__id(struct syscalltbl *tbl, const char *name);

#endif /* __PERF_SYSCALLTBL_H */
back to top