Re: [PATCH v2 bpf-next 5/6] tools/bpf: add runqslower tool to tools/bpf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 14, 2020 at 05:25:42PM +0000, Alexei Starovoitov wrote:
> On 1/14/20 5:22 AM, Jiri Olsa wrote:
> > On Sun, Jan 12, 2020 at 11:31:42PM -0800, Andrii Nakryiko wrote:
> > 
> > SNIP
> > 
> >> diff --git a/tools/bpf/runqslower/Makefile b/tools/bpf/runqslower/Makefile
> >> new file mode 100644
> >> index 000000000000..f1363ae8e473
> >> --- /dev/null
> >> +++ b/tools/bpf/runqslower/Makefile
> >> @@ -0,0 +1,80 @@
> >> +# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
> >> +OUTPUT := .output
> >> +CLANG := clang
> >> +LLC := llc
> >> +LLVM_STRIP := llvm-strip
> >> +DEFAULT_BPFTOOL := $(OUTPUT)/sbin/bpftool
> >> +BPFTOOL ?= $(DEFAULT_BPFTOOL)
> >> +LIBBPF_SRC := $(abspath ../../lib/bpf)
> >> +CFLAGS := -g -Wall
> >> +
> >> +# Try to detect best kernel BTF source
> >> +KERNEL_REL := $(shell uname -r)
> >> +ifneq ("$(wildcard /sys/kenerl/btf/vmlinux)","")
> > 
> > s/kenerl/kernel/
> 
> eagle eye!
> I fixed up in the tree. Thanks!

nah my eyes are screwed.. compilation failed for me ;-)

jirka




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux