syscalltbl.h 433 B

123456789101112131415161718192021
  1. #ifndef __PERF_SYSCALLTBL_H
  2. #define __PERF_SYSCALLTBL_H
  3. struct syscalltbl {
  4. union {
  5. int audit_machine;
  6. struct {
  7. int nr_entries;
  8. void *entries;
  9. } syscalls;
  10. };
  11. };
  12. struct syscalltbl *syscalltbl__new(void);
  13. void syscalltbl__delete(struct syscalltbl *tbl);
  14. const char *syscalltbl__name(const struct syscalltbl *tbl, int id);
  15. int syscalltbl__id(struct syscalltbl *tbl, const char *name);
  16. #endif /* __PERF_SYSCALLTBL_H */