Lines Matching full:tools
1 SUMMARY = "Performance analysis tools for Linux"
49 # needed for building the tools/perf Python bindings
59 # needed for building the tools/perf Perl binding
65 SPDX_S = "${S}/tools/perf"
74 -C ${S}/tools/perf \
115 tools/arch \
116 tools/build \
117 tools/include \
118 tools/lib \
119 tools/Makefile \
120 tools/perf \
121 tools/scripts \
145 …IG', 'scripting', 'true', 'false', d)} && grep -q install-python_ext ${S}/tools/perf/Makefile*; th…
186 if [ -e "${S}/tools/perf/config/Makefile" ]; then
187 perfconfig="${S}/tools/perf/config/Makefile"
189 if [ -e "${S}/tools/perf/Makefile.config" ]; then
190 perfconfig="${S}/tools/perf/Makefile.config"
200 # in ${S}/tools/perf/Documentation/Makefile, if the mandir set to '?=', it
203 if [ -e "${S}/tools/perf/Documentation/Makefile" ]; then
204 sed -i 's,^mandir?=,mandir:=,' ${S}/tools/perf/Documentation/Makefile
206 if [ -e "${S}/tools/perf/Makefile.perf" ]; then
208 ${S}/tools/perf/Makefile.perf
210 ${S}/tools/perf/Makefile.perf
213 ${S}/tools/perf/Makefile.perf
216 ${S}/tools/perf/Makefile*
218 if [ -e "${S}/tools/build/Makefile.build" ]; then
220 ${S}/tools/build/Makefile.build
224 if [ -e "${S}/tools/perf/Makefile.config" ]; then
232 ${S}/tools/perf/Makefile.config
235 ${S}/tools/perf/Makefile.config
238 # [perf tools: Use Python devtools for version autodetection rather than runtime]
241 ${S}/tools/perf/Makefile.config
244 # srcdir_SQ = $(patsubst %tools/perf,tools/perf,$(subst ','\'',$(srcdir))),
246 # reproducible. We really only need the relative location 'tools/perf', so we
247 # change the Makefile line to remove everything before 'tools/perf'
248 …srcdir_SQ = \$(subst ','\\\'',\$(srcdir))%srcdir_SQ = \$(patsubst \%tools/perf,tools/perf,\$(subst…
249 ${S}/tools/perf/Makefile.config
252 ${S}/tools/perf/Makefile.config
254 if [ -e "${S}/tools/perf/tests/Build" ]; then
258 ${S}/tools/perf/tests/Build
260 if [ -e "${S}/tools/perf/util/Build" ]; then
263 sed -i -e 's,$(BISON),$(BISON) $(YFLAGS),g' ${S}/tools/perf/util/Build
270 if [ -e "${S}/tools/perf/pmu-events/Build" ]; then
276 "${S}/tools/perf/pmu-events/Build"
281 if [ -e "${S}/tools/perf/Makefile.perf" ]; then
282 sed -i 's,CC = $(CROSS_COMPILE)gcc,#CC,' ${S}/tools/perf/Makefile.perf
283 sed -i 's,AR = $(CROSS_COMPILE)ar,#AR,' ${S}/tools/perf/Makefile.perf
284 sed -i 's,LD = $(CROSS_COMPILE)ld,#LD,' ${S}/tools/perf/Makefile.perf
286 if [ -e "${S}/tools/lib/api/Makefile" ]; then
287 sed -i 's,CC = $(CROSS_COMPILE)gcc,#CC,' ${S}/tools/lib/api/Makefile
288 sed -i 's,AR = $(CROSS_COMPILE)ar,#AR,' ${S}/tools/lib/api/Makefile
289 sed -i 's,LD = $(CROSS_COMPILE)ld,#LD,' ${S}/tools/lib/api/Makefile
291 if [ -e "${S}/tools/lib/subcmd/Makefile" ]; then
292 sed -i 's,CC = $(CROSS_COMPILE)gcc,#CC,' ${S}/tools/lib/subcmd/Makefile
293 sed -i 's,AR = $(CROSS_COMPILE)ar,#AR,' ${S}/tools/lib/subcmd/Makefile
295 if [ -e "${S}/tools/perf/config/feature-checks/Makefile" ]; then
296 … sed -i 's,CC := $(CROSS_COMPILE)gcc -MD,CC += -MD,' ${S}/tools/perf/config/feature-checks/Makefile
298 if [ -e "${S}/tools/build/Makefile.feature" ]; then
299 sed -i 's,CFLAGS=,CC="\$(CC)" CFLAGS=,' ${S}/tools/build/Makefile.feature
303 if [ -e "${S}/tools/perf/arch/$ARCH/util/skip-callchain-idx.c" ]; then
304 …/callchain.h",#include "util/callchain.h"\n#include "util/debug.h",' ${S}/tools/perf/arch/$ARCH/ut…
306 …if [ -e "${S}/tools/perf/arch/arm/util/unwind-libunwind.c" ] && [ -e "${S}/tools/perf/arch/arm/tes…
307 … "tests/tests.h",#include "tests/tests.h"\n#include "util/debug.h",' ${S}/tools/perf/arch/arm/test…
308 …lude "perf_regs.h",#include "perf_regs.h"\n#include "util/debug.h",' ${S}/tools/perf/arch/arm/util…
312 … for s in `find ${S}/tools/perf/ -name '*.py'` `find ${S}/scripts/ -name 'bpf_helpers_doc.py'`; do
318 …install -D -m0644 ${STAGING_INCDIR}/asm-generic/unistd.h ${S}/tools/include/uapi/asm-generic/unist…