#ifndef __PERF_COMM_H #define __PERF_COMM_H #include "../perf.h" #include #include struct comm_str; struct comm { struct comm_str *comm_str; u64 start; struct list_head list; bool exec; union { /* Tool specific area */ void *priv; u64 db_id; }; }; void comm__free(struct comm *comm); struct comm *comm__new(const char *str, u64 timestamp, bool exec); const char *comm__str(const struct comm *comm); int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec); #endif /* __PERF_COMM_H */ t-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2017-01-02 17:19:46 -0500
committerPablo Neira Ayuso <pablo@netfilter.org>2017-01-09 17:24:55 +0100
commitec23189049651b16dc2ffab35a4371dc1f491aca (patch)
treeabf3c783fb73b147f463fa686715a08fd2a969c1 /net/bluetooth/bnep/netdev.c
parent4915f7bbc402071539ec0cb8c75aad878c982402 (diff)
xtables: extend matches and targets with .usersize
In matches and targets that define a kernel-only tail to their xt_match and xt_target data structs, add a field .usersize that specifies up to where data is to be shared with userspace. Performed a search for comment "Used internally by the kernel" to find relevant matches and targets. Manually inspected the structs to derive a valid offsetof. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/bluetooth/bnep/netdev.c')