package/perf: if audit is enabled, depend on it
PATCH 1/2 package/perf: if audit is enabled, depend on it
Enables the perf trace command.
--- package/linux-tools/linux-tool-perf.mk.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
package/linux-tools/linux-tool-perf.mk.in +6 -1
@@ -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
Signature · 1 line
2.29.2
PATCH 2/2 package/perf: if zstd is enabled, depend on it
Enables the "-z" flag.
--- package/linux-tools/linux-tool-perf.mk.in | 4 ++++ 1 file changed, 4 insertions(+)
package/linux-tools/linux-tool-perf.mk.in +4 -0
@@ -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
Signature · 1 line
2.29.2
PATCH 2/2 package/perf: if zstd is enabled, depend on it
Quoted 3 lines · V?clav Kubern?t
Enables the "-z" flag.
Signed-off-by V?clav Kubern?t <[email protected]>
This makes sense when you have limited space in your tmpfs which happens to be the only writable space.
(disclaimer: I'm Vaclav's co-worker)
Quoted 20 lines
--- package/linux-tools/linux-tool-perf.mk.in | 4 ++++ 1 file changed, 4 insertions(+)package/linux-tools/linux-tool-perf.mk.in +4
-0@@ -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
PATCH 2/2 package/perf: if zstd is enabled, depend on it
In reply to Václav KubernátQuoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"V?clav" == V?clav Kubern?t <[email protected]> writes:
Enables the "-z" flag.
Signed-off-by V?clav Kubern?t <[email protected]>
Committed to next, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 package/perf: if audit is enabled, depend on it
In reply to Václav KubernátQuoted 3 lines · V?clav Kubern?t
Enables the
perf tracecommand.Signed-off-by V?clav Kubern?t <[email protected]>
(disclaimer: I'm Vaclav's co-worker)
Quoted 30 lines
--- package/linux-tools/linux-tool-perf.mk.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)package/linux-tools/linux-tool-perf.mk.in +6
-1@@ -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
PATCH 1/2 package/perf: if audit is enabled, depend on it
In reply to Václav KubernátQuoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"V?clav" == V?clav Kubern?t <[email protected]> writes:
Enables the
perf tracecommand.Signed-off-by V?clav Kubern?t <[email protected]>
Committed to next, thanks.
Signature · 1 line
Bye, Peter Korsgaard