Ubuntu-focal-kernel/tools/perf
Ian Rogers eca96de3df perf tools: Add an option to build without libbfd
BugLink: https://bugs.launchpad.net/bugs/2040284

[ Upstream commit 0d1c50ac48 ]

Some distributions, like debian, don't link perf with libbfd. Add a
build flag to make this configuration buildable and testable.

This was inspired by:

  https://lore.kernel.org/linux-perf-users/20210910102307.2055484-1-tonyg@leastfixedpoint.com/T/#u

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: tony garnock-jones <tonyg@leastfixedpoint.com>
Link: http://lore.kernel.org/lkml/20210910225756.729087-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Stable-dep-of: 7822a8913f4c ("perf build: Update build rule for generated files")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2023-10-30 11:42:23 +01:00
..
Documentation
arch
bench parisc: Align parisc MADV_XXX constants with all other architectures 2023-02-01 15:23:43 +01:00
examples/bpf
include/bpf
jvmti
lib
pmu-events perf jevents: Make build dependency on test JSONs 2023-10-30 11:42:23 +01:00
python
scripts
tests perf test uprobe_from_different_cu: Skip if there is no gcc 2023-10-30 11:41:49 +01:00
trace perf trace: Add the syscall_arg_fmt pointer to syscall_arg 2023-02-01 15:23:00 +01:00
ui perf hists browser: Fix hierarchy mode header 2023-10-30 11:42:20 +01:00
util perf tools: Handle old data in PERF_RECORD_ATTR 2023-10-30 11:42:20 +01:00
.gitignore
Build
CREDITS
MANIFEST
Makefile
Makefile.config perf tools: Add an option to build without libbfd 2023-10-30 11:42:23 +01:00
Makefile.perf
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-c2c.c perf c2c: Fix sorting in percent_rmt_hitm_cmp() 2022-08-26 11:09:05 +02:00
builtin-config.c
builtin-data.c
builtin-diff.c
builtin-evlist.c
builtin-ftrace.c
builtin-help.c
builtin-inject.c
builtin-kallsyms.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-mem.c
builtin-probe.c
builtin-record.c
builtin-report.c perf report: Fix memory leaks around perf_tip() 2022-02-03 18:57:21 +01:00
builtin-sched.c perf sched: Cast PTHREAD_STACK_MIN to int as it may turn into sysconf(__SC_THREAD_STACK_MIN_VALUE) 2023-08-09 12:25:13 +02:00
builtin-script.c perf script: Fix CPU filtering of a script's switch events 2022-03-07 16:34:50 +01:00
builtin-stat.c
builtin-timechart.c
builtin-top.c perf top: Don't pass an ERR_PTR() directly to perf_session__delete() 2023-10-30 11:42:18 +01:00
builtin-trace.c perf trace: Handle failure when trace point folder is missed 2023-02-01 15:23:01 +01:00
builtin-version.c
builtin.h
check-headers.sh x86: xen: insn: Decode Xen and KVM emulate-prefix signature 2022-07-11 16:39:55 +02:00
command-list.txt
design.txt
perf-archive.sh
perf-completion.sh perf tools: Fix auto-complete on aarch64 2023-05-12 17:15:05 +02:00
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c perf tools: Fix perf's libperf_print callback 2022-05-20 15:19:59 +02:00
perf.h