On Fri, May 13, 2022 at 8:14 PM Yonghong Song <yhs@xxxxxx> wrote: > > Add a test for enum64 value relocations. > > Signed-off-by: Yonghong Song <yhs@xxxxxx> > --- LGTM Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > .../selftests/bpf/prog_tests/core_reloc.c | 58 ++++++++++++++ > .../bpf/progs/btf__core_reloc_enum64val.c | 3 + > .../progs/btf__core_reloc_enum64val___diff.c | 3 + > .../btf__core_reloc_enum64val___err_missing.c | 3 + > ...btf__core_reloc_enum64val___val3_missing.c | 3 + > .../selftests/bpf/progs/core_reloc_types.h | 78 +++++++++++++++++++ > .../bpf/progs/test_core_reloc_enum64val.c | 70 +++++++++++++++++ > 7 files changed, 218 insertions(+) > create mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val.c > create mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___diff.c > create mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___err_missing.c > create mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_enum64val___val3_missing.c > create mode 100644 tools/testing/selftests/bpf/progs/test_core_reloc_enum64val.c > [...]