summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-10-07 23:29:40 +0100
committerDavid S. Miller <davem@davemloft.net>2017-10-07 23:29:40 +0100
commitc9f766bc6ee0c0a0b01ac2c94610aa5dde7343ff (patch)
treec2bccb6962e725d691b9529445f5436e385b3bf7 /include/linux
parentf192970de860d3ab90aa9e2a22853201a57bde78 (diff)
parent368211fb920a0b789c238942c6af0414539f79d6 (diff)
downloadcachepc-linux-c9f766bc6ee0c0a0b01ac2c94610aa5dde7343ff.tar.gz
cachepc-linux-c9f766bc6ee0c0a0b01ac2c94610aa5dde7343ff.zip
Merge branch 'bpf-obj-name-misc'
Martin KaFai Lau says: ==================== bpf: Misc improvements and a new usage on bpf obj name The first two patches make improvements on the bpf obj name. The last patch adds the prog name to kallsyms. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/bpf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index a67daea731ab..bc7da2ddfcaf 100644
--- a/include/linux/bpf.h
+++ b/include/linux/bpf.h
@@ -56,7 +56,7 @@ struct bpf_map {
struct work_struct work;
atomic_t usercnt;
struct bpf_map *inner_map_meta;
- u8 name[BPF_OBJ_NAME_LEN];
+ char name[BPF_OBJ_NAME_LEN];
};
/* function argument constraints */
@@ -189,7 +189,7 @@ struct bpf_prog_aux {
struct bpf_prog *prog;
struct user_struct *user;
u64 load_time; /* ns since boottime */
- u8 name[BPF_OBJ_NAME_LEN];
+ char name[BPF_OBJ_NAME_LEN];
union {
struct work_struct work;
struct rcu_head rcu;