diff options
author | Cong Wang <cong.wang@bytedance.com> | 2021-03-30 19:32:28 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-04-01 10:56:13 -0700 |
commit | 2004fdbd8a2b56757691717639f86d0eea3ab5b4 (patch) | |
tree | 74cf7c76ec5d7430e9666b9971a348afdfb7367b /tools/perf/scripts/python/check-perf-trace.py | |
parent | 190179f65ba8bc18dc1d38435b7932505ca5544f (diff) |
sock_map: Simplify sock_map_link() a bit
sock_map_link() passes down map progs, but it is confusing
to see both map progs and psock progs. Make the map progs
more obvious by retrieving it directly with sock_map_progs()
inside sock_map_link(). Now it is aligned with
sock_map_link_no_progs() too.
Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20210331023237.41094-8-xiyou.wangcong@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions