diff options
| author | Daniel Borkmann <[email protected]> | 2016-06-15 22:47:13 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-06-15 23:42:57 -0700 |
| commit | d056a788765e67773124f520159185bc89f5d1ad (patch) | |
| tree | 206983a7a6cad6687929f48147bef8e4de3c0ba2 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 61d1b6a42fec61c5065f54cc62cef02b483c69fb (diff) | |
bpf, maps: extend map_fd_get_ptr arguments
This patch extends map_fd_get_ptr() callback that is used by fd array
maps, so that struct file pointer from the related map can be passed
in. It's safe to remove map_update_elem() callback for the two maps since
this is only allowed from syscall side, but not from eBPF programs for these
two map types. Like in per-cpu map case, bpf_fd_array_map_update_elem()
needs to be called directly here due to the extra argument.
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions