diff options
| author | Lorenz Bauer <lmb@cloudflare.com> | 2020-09-21 13:12:17 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-21 15:00:40 -0700 |
| commit | 2af30f115d6957f372ce3096c7198763ff253d97 (patch) | |
| tree | 7655d8c52395897f167cfbd5067ed37d8fdea6cd /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | bpf: Fix potential call bpf_link_free() in atomic context (diff) | |
| download | linux-2af30f115d6957f372ce3096c7198763ff253d97.tar.gz linux-2af30f115d6957f372ce3096c7198763ff253d97.zip | |
btf: Make btf_set_contains take a const pointer
bsearch doesn't modify the contents of the array, so we can take a const pointer.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200921121227.255763-2-lmb@cloudflare.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
