diff options
| author | Martin KaFai Lau <[email protected]> | 2017-09-27 21:37:53 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-09-29 05:17:05 +0000 |
| commit | ad5b177bd73f5107d97c36f56395c4281fb6f089 (patch) | |
| tree | 90f03bf2a9ce3370d0979524a10784bce7714042 /samples/bpf/map_perf_test_user.c | |
| parent | bpf: Add name, load_time, uid and map_ids to bpf_prog_info (diff) | |
| download | kernel-ad5b177bd73f5107d97c36f56395c4281fb6f089.tar.gz kernel-ad5b177bd73f5107d97c36f56395c4281fb6f089.zip | |
bpf: Add map_name to bpf_map_info
This patch allows userspace to specify a name for a map
during BPF_MAP_CREATE.
The map's name can later be exported to user space
via BPF_OBJ_GET_INFO_BY_FD.
Signed-off-by: Martin KaFai Lau <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'samples/bpf/map_perf_test_user.c')
0 files changed, 0 insertions, 0 deletions
