]> git.baikalelectronics.ru Git - kernel.git/commit
bpftool: Skeleton should depend on libbpf
authorSong Liu <songliubraving@fb.com>
Thu, 12 Mar 2020 18:23:31 +0000 (11:23 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 12 Mar 2020 23:08:33 +0000 (00:08 +0100)
commit96d741afdb4d2c0c3cb8020a2cce77940aade845
tree5b03b3392ad73451b923bede2396bd5f8fae0568
parent7c8ac03805b18aafde098189e017c7bcd0ced5b6
bpftool: Skeleton should depend on libbpf

Add the dependency to libbpf, to fix build errors like:

  In file included from skeleton/profiler.bpf.c:5:
  .../bpf_helpers.h:5:10: fatal error: 'bpf_helper_defs.h' file not found
  #include "bpf_helper_defs.h"
           ^~~~~~~~~~~~~~~~~~~
  1 error generated.
  make: *** [skeleton/profiler.bpf.o] Error 1
  make: *** Waiting for unfinished jobs....

Fixes: 9bd73659ff5a ("bpftool: Introduce "prog profile" command")
Suggested-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200312182332.3953408-3-songliubraving@fb.com
tools/bpf/bpftool/Makefile