Skip to contentSkip to conversation

perf: remove tests from target

PATCH New Thomas De Schampheleire 3 participants 3 messages Jan 15, 2016 – Jan 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: remove tests from target

From: Thomas De Schampheleire <[email protected]>

The perf tool installed test files in
output/target/usr/libexec/perf-core/tests/
which amounted to about 30+K.

Since they are not needed for normal perf operation, remove them.

---
 linux/linux-tool-perf.mk | 1 +
 1 file changed, 1 insertion(+)
linux/linux-tool-perf.mk +1 -0
index 0bd0ed1..07c3514 100644
@@ -84,4 +84,5 @@ define PERF_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \
 		-C $(@D)/tools/perf O=$(@D)/tools/perf/ install
 	$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/
+	$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/tests/
 endef
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 perf: remove tests from target

Quoted 9 lines · Thomas De Schampheleire

From: Thomas De Schampheleire <[email protected]>

The perf tool installed test files in
output/target/usr/libexec/perf-core/tests/
which amounted to about 30+K.

Since they are not needed for normal perf operation, remove them.

Regards,
Arnout

Quoted 15 lines
---
 linux/linux-tool-perf.mk | 1 +
 1 file changed, 1 insertion(+)
linux/linux-tool-perf.mk +1 -0
index 0bd0ed1..07c3514 100644
@@ -84,4 +84,5 @@ define PERF_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \
 		-C $(@D)/tools/perf O=$(@D)/tools/perf/ install
 	$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/
+	$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/tests/
 endef
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#2 lore raw

PATCH 1/1 perf: remove tests from target

In reply to Thomas De Schampheleire

Dear Thomas De Schampheleire,

Quoted 6 lines · Thomas De Schampheleire

From: Thomas De Schampheleire <[email protected]>

The perf tool installed test files in
output/target/usr/libexec/perf-core/tests/
which amounted to about 30+K.

Quoted 6 lines

Since they are not needed for normal perf operation, remove them.

---
 linux/linux-tool-perf.mk | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com