2017-11-01 22:09:13 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2016-09-02 09:37:22 +08: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 17:56:44 +08:00
|
|
|
#include <asm/bpf_perf_event.h>
|
2016-09-02 09:37:22 +08:00
|
|
|
|
|
|
|
struct bpf_perf_event_data {
|
2017-12-04 17:56:44 +08:00
|
|
|
bpf_user_pt_regs_t regs;
|
2016-09-02 09:37:22 +08:00
|
|
|
__u64 sample_period;
|
2018-03-07 02:55:01 +08:00
|
|
|
__u64 addr;
|
2016-09-02 09:37:22 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */
|