All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/perf: if audit is enabled, depend on it
@ 2020-11-11 16:00 Václav Kubernát
  2020-11-11 16:00 ` [Buildroot] [PATCH 2/2] package/perf: if zstd " Václav Kubernát
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Václav Kubernát @ 2020-11-11 16:00 UTC (permalink / raw)
  To: buildroot

Enables the `perf trace` command.

Signed-off-by: V?clav Kubern?t <sir.venceslas@gmail.com>
---
 package/linux-tools/linux-tool-perf.mk.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in
index 53b7c5b9cd..e54f019888 100644
--- a/package/linux-tools/linux-tool-perf.mk.in
+++ b/package/linux-tools/linux-tool-perf.mk.in
@@ -21,7 +21,6 @@ PERF_MAKE_FLAGS = \
 	DESTDIR=$(TARGET_DIR) \
 	prefix=/usr \
 	WERROR=0 \
-	NO_LIBAUDIT=1 \
 	NO_GTK2=1 \
 	NO_LIBPERL=1 \
 	NO_LIBPYTHON=1 \
@@ -64,6 +63,12 @@ else
 PERF_MAKE_FLAGS += NO_NEWT=1 NO_SLANG=1
 endif
 
+ifeq ($(BR2_PACKAGE_AUDIT),y)
+PERF_DEPENDENCIES += audit
+else
+PERF_MAKE_FLAGS += NO_LIBAUDIT=1
+endif
+
 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
 PERF_DEPENDENCIES += libunwind
 else
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/2] package/perf: if zstd is enabled, depend on it
  2020-11-11 16:00 [Buildroot] [PATCH 1/2] package/perf: if audit is enabled, depend on it Václav Kubernát
@ 2020-11-11 16:00 ` Václav Kubernát
  2020-11-12 19:04   ` Jan Kundrát
  2020-11-13 13:55   ` Peter Korsgaard
  2020-11-12 19:03 ` [Buildroot] [PATCH 1/2] package/perf: if audit " Jan Kundrát
  2020-11-13 13:55 ` Peter Korsgaard
  2 siblings, 2 replies; 6+ messages in thread
From: Václav Kubernát @ 2020-11-11 16:00 UTC (permalink / raw)
  To: buildroot

Enables the "-z" flag.

Signed-off-by: V?clav Kubern?t <sir.venceslas@gmail.com>
---
 package/linux-tools/linux-tool-perf.mk.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in
index e54f019888..efa747cf8d 100644
--- a/package/linux-tools/linux-tool-perf.mk.in
+++ b/package/linux-tools/linux-tool-perf.mk.in
@@ -69,6 +69,10 @@ else
 PERF_MAKE_FLAGS += NO_LIBAUDIT=1
 endif
 
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+PERF_DEPENDENCIES += zstd
+endif
+
 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
 PERF_DEPENDENCIES += libunwind
 else
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot]  [PATCH 1/2] package/perf: if audit is enabled, depend on it
  2020-11-11 16:00 [Buildroot] [PATCH 1/2] package/perf: if audit is enabled, depend on it Václav Kubernát
  2020-11-11 16:00 ` [Buildroot] [PATCH 2/2] package/perf: if zstd " Václav Kubernát
@ 2020-11-12 19:03 ` Jan Kundrát
  2020-11-13 13:55 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Jan Kundrát @ 2020-11-12 19:03 UTC (permalink / raw)
  To: buildroot

On st?eda 11. listopadu 2020 17:00:07 CET, V?clav Kubern?t wrote:
> Enables the `perf trace` command.
>
> Signed-off-by: V?clav Kubern?t <sir.venceslas@gmail.com>

Reviewed-by: Jan Kundr?t <jan.kundrat@cesnet.cz>

(disclaimer: I'm Vaclav's co-worker)

> ---
>  package/linux-tools/linux-tool-perf.mk.in | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/package/linux-tools/linux-tool-perf.mk.in 
> b/package/linux-tools/linux-tool-perf.mk.in
> index 53b7c5b9cd..e54f019888 100644
> --- a/package/linux-tools/linux-tool-perf.mk.in
> +++ b/package/linux-tools/linux-tool-perf.mk.in
> @@ -21,7 +21,6 @@ PERF_MAKE_FLAGS = \
>  	DESTDIR=$(TARGET_DIR) \
>  	prefix=/usr \
>  	WERROR=0 \
> -	NO_LIBAUDIT=1 \
>  	NO_GTK2=1 \
>  	NO_LIBPERL=1 \
>  	NO_LIBPYTHON=1 \
> @@ -64,6 +63,12 @@ else
>  PERF_MAKE_FLAGS += NO_NEWT=1 NO_SLANG=1
>  endif
>  
> +ifeq ($(BR2_PACKAGE_AUDIT),y)
> +PERF_DEPENDENCIES += audit
> +else
> +PERF_MAKE_FLAGS += NO_LIBAUDIT=1
> +endif
> +
>  ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
>  PERF_DEPENDENCIES += libunwind
>  else

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot]  [PATCH 2/2] package/perf: if zstd is enabled, depend on it
  2020-11-11 16:00 ` [Buildroot] [PATCH 2/2] package/perf: if zstd " Václav Kubernát
@ 2020-11-12 19:04   ` Jan Kundrát
  2020-11-13 13:55   ` Peter Korsgaard
  1 sibling, 0 replies; 6+ messages in thread
From: Jan Kundrát @ 2020-11-12 19:04 UTC (permalink / raw)
  To: buildroot

On st?eda 11. listopadu 2020 17:00:08 CET, V?clav Kubern?t wrote:
> Enables the "-z" flag.
>
> Signed-off-by: V?clav Kubern?t <sir.venceslas@gmail.com>

This makes sense when you have limited space in your tmpfs which happens to 
be the only writable space.

Reviewed-by: Jan Kundr?t <jan.kundrat@cesnet.cz>

(disclaimer: I'm Vaclav's co-worker)

> ---
>  package/linux-tools/linux-tool-perf.mk.in | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/package/linux-tools/linux-tool-perf.mk.in 
> b/package/linux-tools/linux-tool-perf.mk.in
> index e54f019888..efa747cf8d 100644
> --- a/package/linux-tools/linux-tool-perf.mk.in
> +++ b/package/linux-tools/linux-tool-perf.mk.in
> @@ -69,6 +69,10 @@ else
>  PERF_MAKE_FLAGS += NO_LIBAUDIT=1
>  endif
>  
> +ifeq ($(BR2_PACKAGE_ZSTD),y)
> +PERF_DEPENDENCIES += zstd
> +endif
> +
>  ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
>  PERF_DEPENDENCIES += libunwind
>  else

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/2] package/perf: if audit is enabled, depend on it
  2020-11-11 16:00 [Buildroot] [PATCH 1/2] package/perf: if audit is enabled, depend on it Václav Kubernát
  2020-11-11 16:00 ` [Buildroot] [PATCH 2/2] package/perf: if zstd " Václav Kubernát
  2020-11-12 19:03 ` [Buildroot] [PATCH 1/2] package/perf: if audit " Jan Kundrát
@ 2020-11-13 13:55 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2020-11-13 13:55 UTC (permalink / raw)
  To: buildroot

>>>>> "V?clav" == V?clav Kubern?t <sir.venceslas@gmail.com> writes:

 > Enables the `perf trace` command.
 > Signed-off-by: V?clav Kubern?t <sir.venceslas@gmail.com>

Committed to next, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/2] package/perf: if zstd is enabled, depend on it
  2020-11-11 16:00 ` [Buildroot] [PATCH 2/2] package/perf: if zstd " Václav Kubernát
  2020-11-12 19:04   ` Jan Kundrát
@ 2020-11-13 13:55   ` Peter Korsgaard
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2020-11-13 13:55 UTC (permalink / raw)
  To: buildroot

>>>>> "V?clav" == V?clav Kubern?t <sir.venceslas@gmail.com> writes:

 > Enables the "-z" flag.
 > Signed-off-by: V?clav Kubern?t <sir.venceslas@gmail.com>

Committed to next, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-13 13:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11 16:00 [Buildroot] [PATCH 1/2] package/perf: if audit is enabled, depend on it Václav Kubernát
2020-11-11 16:00 ` [Buildroot] [PATCH 2/2] package/perf: if zstd " Václav Kubernát
2020-11-12 19:04   ` Jan Kundrát
2020-11-13 13:55   ` Peter Korsgaard
2020-11-12 19:03 ` [Buildroot] [PATCH 1/2] package/perf: if audit " Jan Kundrát
2020-11-13 13:55 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.