forked from mirrors/linux
		
	Synchronize the uapi kernel header files which solves the broken uapi export of pt_regs. Because of arch-specific uapi headers, extended the include path in the Makefile. With this change, the test_verifier program compiles and runs successfully on s390. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Reviewed-and-tested-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			531 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			531 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 | 
						|
/* 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__
 | 
						|
 | 
						|
#include <asm/bpf_perf_event.h>
 | 
						|
 | 
						|
struct bpf_perf_event_data {
 | 
						|
	bpf_user_pt_regs_t regs;
 | 
						|
	__u64 sample_period;
 | 
						|
};
 | 
						|
 | 
						|
#endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */
 |