* [Buildroot] [PATCH] perf: remove tests from target
@ 2016-01-15 8:47 Thomas De Schampheleire
2016-01-15 23:21 ` Arnout Vandecappelle
2016-01-16 13:05 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Thomas De Schampheleire @ 2016-01-15 8:47 UTC (permalink / raw)
To: buildroot
From: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
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.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
---
linux/linux-tool-perf.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux/linux-tool-perf.mk b/linux/linux-tool-perf.mk
index 0bd0ed1..07c3514 100644
--- a/linux/linux-tool-perf.mk
+++ b/linux/linux-tool-perf.mk
@@ -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
--
2.4.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] perf: remove tests from target
2016-01-15 8:47 [Buildroot] [PATCH] perf: remove tests from target Thomas De Schampheleire
@ 2016-01-15 23:21 ` Arnout Vandecappelle
2016-01-16 13:05 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2016-01-15 23:21 UTC (permalink / raw)
To: buildroot
On 15-01-16 09:47, Thomas De Schampheleire wrote:
> From: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
>
> 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.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Regards,
Arnout
> ---
> linux/linux-tool-perf.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/linux/linux-tool-perf.mk b/linux/linux-tool-perf.mk
> index 0bd0ed1..07c3514 100644
> --- a/linux/linux-tool-perf.mk
> +++ b/linux/linux-tool-perf.mk
> @@ -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
>
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] perf: remove tests from target
2016-01-15 8:47 [Buildroot] [PATCH] perf: remove tests from target Thomas De Schampheleire
2016-01-15 23:21 ` Arnout Vandecappelle
@ 2016-01-16 13:05 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-01-16 13:05 UTC (permalink / raw)
To: buildroot
Dear Thomas De Schampheleire,
On Fri, 15 Jan 2016 09:47:35 +0100, Thomas De Schampheleire wrote:
> From: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
>
> 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.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> ---
> linux/linux-tool-perf.mk | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-16 13:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-15 8:47 [Buildroot] [PATCH] perf: remove tests from target Thomas De Schampheleire
2016-01-15 23:21 ` Arnout Vandecappelle
2016-01-16 13:05 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox