probe-file.h 639 B

12345678910111213141516171819202122
  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. int probe_file__get_events(int fd, struct strfilter *filter,
  15. struct strlist *plist);
  16. int probe_file__del_strlist(int fd, struct strlist *namelist);
  17. #endif