blob: 8f95303f9d807d10d4fd6850d91a2486b0a490ec [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Christopher Ferris33185402017-01-13 13:28:52 -08002/* 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
Christopher Ferrisa1a109e2018-01-31 15:03:12 -080011#include <asm/bpf_perf_event.h>
Christopher Ferris33185402017-01-13 13:28:52 -080012
13struct bpf_perf_event_data {
Christopher Ferrisa1a109e2018-01-31 15:03:12 -080014 bpf_user_pt_regs_t regs;
Christopher Ferris33185402017-01-13 13:28:52 -080015 __u64 sample_period;
16};
17
18#endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */