2017-11-01 21:09:13 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2016-09-02 08:37:22 +07:00
|
|
|
/* Copyright (c) 2016 Facebook
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of version 2 of the GNU General Public
|
|
|
|
* License as published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
#ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__
|
|
|
|
#define _UAPI__LINUX_BPF_PERF_EVENT_H__
|
|
|
|
|
2017-12-04 16:56:44 +07:00
|
|
|
#include <asm/bpf_perf_event.h>
|
2016-09-02 08:37:22 +07:00
|
|
|
|
|
|
|
struct bpf_perf_event_data {
|
2017-12-04 16:56:44 +07:00
|
|
|
bpf_user_pt_regs_t regs;
|
2016-09-02 08:37:22 +07:00
|
|
|
__u64 sample_period;
|
2018-03-07 01:55:01 +07:00
|
|
|
__u64 addr;
|
2016-09-02 08:37:22 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */
|