diff options
author | Song Liu <song@kernel.org> | 2021-04-25 14:43:30 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-04-29 10:30:58 -0300 |
commit | fe3dd8263b9f3912a0f3a2f66c0fdb3987d69a1a (patch) | |
tree | eca85c8ff7ca4f6bcf9dc98cb8fff7d6f12ea9f3 /tools/perf/builtin-annotate.c | |
parent | ec8149fba64b719a618b432ce9eea7ce937a523c (diff) | |
download | linux-fe3dd8263b9f3912a0f3a2f66c0fdb3987d69a1a.tar.gz linux-fe3dd8263b9f3912a0f3a2f66c0fdb3987d69a1a.tar.bz2 linux-fe3dd8263b9f3912a0f3a2f66c0fdb3987d69a1a.zip |
perf bpf: check perf_attr_map is compatible with the perf binary
perf_attr_map could be shared among different version of perf binary. Add
bperf_attr_map_compatible() to check whether the existing attr_map is
compatible with current perf binary.
Signed-off-by: Song Liu <song@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: kernel-team@fb.com
Link: https://lore.kernel.org/r/20210425214333.1090950-3-song@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions