Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /usr/share/systemtap/runtime/transport/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/systemtap/runtime/transport/relay_compat.h
/* -*- linux-c -*- */
#ifndef _TRANSPORT_RELAY_COMPAT_H_
#define _TRANSPORT_RELAY_COMPAT_H_

#if defined (CONFIG_RELAYFS_FS) || defined (CONFIG_RELAYFS_FS_MODULE)
#  include <linux/relayfs_fs.h>
#elif defined (CONFIG_RELAY)
#  include <linux/relay.h>
#endif

#ifdef STAPCONF_RELAY_BUF_PER_CPU_PTR

#include <linux/percpu.h>

#define _stp_get_rchan_subbuf(rchan_buf, cpu) \
	(*per_cpu_ptr((rchan_buf), (cpu)))

#else

#define _stp_get_rchan_subbuf(rchan_buf, cpu) \
	((rchan_buf)[(cpu)])

#endif

#endif /* _TRANSPORT_RELAY_COMPAT_H_ */

haha - 2025