]> git.baikalelectronics.ru Git - kernel.git/commit
perf build: Support build BPF skeletons with perf
authorSong Liu <songliubraving@fb.com>
Tue, 29 Dec 2020 21:42:13 +0000 (13:42 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 Jan 2021 18:49:07 +0000 (15:49 -0300)
commit2d634adc3066b9f4c63292e1e45c6cf623e0a74a
treedc0b292571998493cab820ebd11650e66094e382
parent34a84e0cefbc69679e97bd7de5dc99b2836d8c64
perf build: Support build BPF skeletons with perf

BPF programs are useful in perf to profile BPF programs.

BPF skeleton is by far the easiest way to write BPF tools. Enable
building BPF skeletons in util/bpf_skel. A dummy bpf skeleton is added.
More bpf skeletons will be added for different use cases.

Signed-off-by: Song Liu <songliubraving@fb.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kernel-team@fb.com
Link: http://lore.kernel.org/lkml/20201229214214.3413833-3-songliubraving@fb.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/build/Makefile.feature
tools/perf/Makefile.config
tools/perf/Makefile.perf
tools/perf/util/bpf_skel/.gitignore [new file with mode: 0644]
tools/scripts/Makefile.include