|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21573/root/usr/share/systemtap/runtime/ |
Upload File : |
#include <linux/relay.h>
/* commit 4e6b225dab95a4d43b3e7bdc7e79cbca4c145596
* Author: Al Viro <viro@zeniv.linux.org.uk>
* Date: Sun Jul 24 04:33:43 2011 -0400
*
* switch debugfs to umode_t
*/
static struct dentry *
umode_t_callback(const char *filename,
struct dentry *parent,
umode_t mode, /* as opposed to mode_t=__kernel_mode_t */
struct rchan_buf *buf,
int *is_global)
{
(void) filename;
(void) parent;
(void) mode;
(void) buf;
(void) is_global;
return NULL;
}
static struct rchan_callbacks __stp_relay_callbacks = {
.create_buf_file = umode_t_callback,
};
void foo (void) {
(void) __stp_relay_callbacks.create_buf_file;
}