probe-file.h 484 B

123456789101112131415161718
  1. #ifndef __PROBE_FILE_H
  2. #define __PROBE_FILE_H
  3. #include "strlist.h"
  4. #include "strfilter.h"
  5. #include "probe-event.h"
  6. #define PF_FL_UPROBE 1
  7. #define PF_FL_RW 2
  8. int probe_file__open(int flag);
  9. int probe_file__open_both(int *kfd, int *ufd, int flag);
  10. struct strlist *probe_file__get_namelist(int fd);
  11. struct strlist *probe_file__get_rawlist(int fd);
  12. int probe_file__add_event(int fd, struct probe_trace_event *tev);
  13. int probe_file__del_events(int fd, struct strfilter *filter);
  14. #endif