bpf_perf_event.h 483 B

12345678910111213141516171819
  1. /* Copyright (c) 2016 Facebook
  2. *
  3. * This program is free software; you can redistribute it and/or
  4. * modify it under the terms of version 2 of the GNU General Public
  5. * License as published by the Free Software Foundation.
  6. */
  7. #ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__
  8. #define _UAPI__LINUX_BPF_PERF_EVENT_H__
  9. #include <linux/types.h>
  10. #include <linux/ptrace.h>
  11. struct bpf_perf_event_data {
  12. struct pt_regs regs;
  13. __u64 sample_period;
  14. };
  15. #endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */