Staging
v0.8.1
swh:1:snp:a902887e4be9191b7c6c4406aa06b31c1ce2c7cc
Raw File
Tip revision: a909d3e636995ba7c349e2ca5dbb528154d4ac30 authored by Linus Torvalds on 29 October 2016, 20:52:02 UTC
Linux 4.9-rc3
Tip revision: a909d3e
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