blob: af549d4ecf1b6e76522c6a157db98d48e4190b30 [file] [log] [blame]
Greg Kroah-Hartmane2be04c2017-11-01 15:09:13 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Alexei Starovoitov0515e592016-09-01 18:37:22 -07002/* Copyright (c) 2016 Facebook
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 2 of the GNU General Public
6 * License as published by the Free Software Foundation.
7 */
8#ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__
9#define _UAPI__LINUX_BPF_PERF_EVENT_H__
10
11#include <linux/types.h>
12#include <linux/ptrace.h>
13
14struct bpf_perf_event_data {
15 struct pt_regs regs;
16 __u64 sample_period;
17};
18
19#endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */