Release 4.12 include/linux/sunrpc/stats.h
/*
* linux/include/linux/sunrpc/stats.h
*
* Client statistics collection for SUN RPC
*
* Copyright (C) 1996 Olaf Kirch <okir@monad.swb.de>
*/
#ifndef _LINUX_SUNRPC_STATS_H
#define _LINUX_SUNRPC_STATS_H
#include <linux/proc_fs.h>
struct rpc_stat {
const struct rpc_program *program;
unsigned int netcnt,
netudpcnt,
nettcpcnt,
nettcpconn,
netreconn;
unsigned int rpccnt,
rpcretrans,
rpcauthrefresh,
rpcgarbage;
};
struct svc_stat {
struct svc_program * program;
unsigned int netcnt,
netudpcnt,
nettcpcnt,
nettcpconn;
unsigned int rpccnt,
rpcbadfmt,
rpcbadauth,
rpcbadclnt;
};
struct net;
#ifdef CONFIG_PROC_FS
int rpc_proc_init(struct net *);
void rpc_proc_exit(struct net *);
#else
static inline int rpc_proc_init(struct net *net)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Pavel Emelyanov | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
static inline void rpc_proc_exit(struct net *net)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Pavel Emelyanov | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
#endif
#ifdef MODULE
void rpc_modcount(struct inode *, int);
#endif
#ifdef CONFIG_PROC_FS
struct proc_dir_entry * rpc_proc_register(struct net *,struct rpc_stat *);
void rpc_proc_unregister(struct net *,const char *);
void rpc_proc_zero(const struct rpc_program *);
struct proc_dir_entry * svc_proc_register(struct net *, struct svc_stat *,
const struct file_operations *);
void svc_proc_unregister(struct net *, const char *);
void svc_seq_show(struct seq_file *,
const struct svc_stat *);
#else
static inline struct proc_dir_entry *rpc_proc_register(struct net *net, struct rpc_stat *s) { return NULL; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Adam Belay | 17 | 77.27% | 1 | 33.33% |
Stanislav Kinsbursky | 4 | 18.18% | 1 | 33.33% |
Randy Dunlap | 1 | 4.55% | 1 | 33.33% |
Total | 22 | 100.00% | 3 | 100.00% |
static inline void rpc_proc_unregister(struct net *net, const char *p) {}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Randy Dunlap | 7 | 43.75% | 1 | 25.00% |
Linus Torvalds (pre-git) | 6 | 37.50% | 1 | 25.00% |
Stanislav Kinsbursky | 2 | 12.50% | 1 | 25.00% |
Linus Torvalds | 1 | 6.25% | 1 | 25.00% |
Total | 16 | 100.00% | 4 | 100.00% |
static inline void rpc_proc_zero(const struct rpc_program *p) {}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Adam Belay | 11 | 91.67% | 1 | 50.00% |
Trond Myklebust | 1 | 8.33% | 1 | 50.00% |
Total | 12 | 100.00% | 2 | 100.00% |
static inline struct proc_dir_entry *svc_proc_register(struct net *net, struct svc_stat *s,
const struct file_operations *f) { return NULL; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 12 | 42.86% | 1 | 16.67% |
Andrew Morton | 9 | 32.14% | 2 | 33.33% |
Stanislav Kinsbursky | 5 | 17.86% | 1 | 16.67% |
Linus Torvalds | 1 | 3.57% | 1 | 16.67% |
Arjan van de Ven | 1 | 3.57% | 1 | 16.67% |
Total | 28 | 100.00% | 6 | 100.00% |
static inline void svc_proc_unregister(struct net *net, const char *p) {}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Adam Belay | 11 | 68.75% | 1 | 50.00% |
Stanislav Kinsbursky | 5 | 31.25% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
static inline void svc_seq_show(struct seq_file *seq,
const struct svc_stat *st) {}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 8 | 47.06% | 2 | 40.00% |
Linus Torvalds (pre-git) | 4 | 23.53% | 1 | 20.00% |
Adam Belay | 4 | 23.53% | 1 | 20.00% |
Linus Torvalds | 1 | 5.88% | 1 | 20.00% |
Total | 17 | 100.00% | 5 | 100.00% |
#endif
#endif /* _LINUX_SUNRPC_STATS_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 179 | 52.65% | 4 | 28.57% |
Pavel Emelyanov | 43 | 12.65% | 1 | 7.14% |
Adam Belay | 43 | 12.65% | 1 | 7.14% |
Stanislav Kinsbursky | 32 | 9.41% | 2 | 14.29% |
Andrew Morton | 27 | 7.94% | 2 | 14.29% |
Randy Dunlap | 8 | 2.35% | 1 | 7.14% |
Trond Myklebust | 3 | 0.88% | 1 | 7.14% |
Linus Torvalds | 3 | 0.88% | 1 | 7.14% |
Arjan van de Ven | 2 | 0.59% | 1 | 7.14% |
Total | 340 | 100.00% | 14 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.