diff options
| author | Andrii Nakryiko <[email protected]> | 2020-09-08 11:01:27 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-09-09 11:28:28 -0700 |
| commit | 8081ede1f73139687a75147d529cebcc5e4149c5 (patch) | |
| tree | 83a48c9e6636406f0d1451cd23fb4f0feb760740 /tools/perf/scripts/python/flamegraph.py | |
| parent | 7fb5eefd76394cfefb380724a87ca40b47d44405 (diff) | |
perf: Stop using deprecated bpf_program__title()
Switch from deprecated bpf_program__title() API to
bpf_program__section_name(). Also drop unnecessary error checks because
neither bpf_program__title() nor bpf_program__section_name() can fail or
return NULL.
Fixes: 521095842027 ("libbpf: Deprecate notion of BPF program "title" in favor of "section name"")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Tobias Klauser <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions