2010-11-30 22:12:40

by Don Zickus

[permalink] [raw]
Subject: [PATCH 1/2] perf: remove dep on -lelf during libaudit check

If your machine does not have the elfutils-devel installed on it,
then the check of libaudit will fail even though the machine has
the audit-libs-devel package installed.

The check for -lelf is unneeded.

Signed-off-by: Don Zickus <[email protected]>
---
tools/perf/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index b3e6bc6..78ca0b5 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -518,7 +518,7 @@ PERFLIBS = $(LIB_FILE)
-include config.mak

ifndef NO_AUDIT
-FLAGS_AUDIT=$(ALL_CFLAGS) -laudit $(ALL_LDFLAGS) $(EXTLIBS)
+FLAGS_AUDIT=$(ALL_CFLAGS) -laudit $(ALL_LDFLAGS)
ifneq ($(call try-cc,$(SOURCE_AUDIT),$(FLAGS_AUDIT)),y)
msg := $(error No libaudit found. Please install audit-libs-dev/audit-libs-devel);
NO_AUDIT := 1
--
1.7.3.2


2010-11-30 22:12:32

by Don Zickus

[permalink] [raw]
Subject: [PATCH 2/2] perf: add memcpy to perf packaging

There seems to be a new dependency on arch/*/lib/memcpy*.S when compiling
the perf tool. Make sure that file is included in the MANIFEST when
creating the tarball.

Signed-off-by: Don Zickus <[email protected]>
---
tools/perf/MANIFEST | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/perf/MANIFEST b/tools/perf/MANIFEST
index 8c7fc0c..c12659d 100644
--- a/tools/perf/MANIFEST
+++ b/tools/perf/MANIFEST
@@ -7,6 +7,7 @@ include/linux/stringify.h
lib/rbtree.c
include/linux/swab.h
arch/*/include/asm/unistd*.h
+arch/*/lib/memcpy*.S
include/linux/poison.h
include/linux/magic.h
include/linux/hw_breakpoint.h
--
1.7.3.2

2010-12-01 01:06:32

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: [PATCH 2/2] perf: add memcpy to perf packaging

Em Tue, Nov 30, 2010 at 05:12:13PM -0500, Don Zickus escreveu:
> There seems to be a new dependency on arch/*/lib/memcpy*.S when compiling
> the perf tool. Make sure that file is included in the MANIFEST when
> creating the tarball.
>
> Signed-off-by: Don Zickus <[email protected]>

Thanks, applied.

- Arnaldo

2010-12-01 01:08:28

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: [PATCH 1/2] perf: remove dep on -lelf during libaudit check

Em Tue, Nov 30, 2010 at 05:12:12PM -0500, Don Zickus escreveu:
> If your machine does not have the elfutils-devel installed on it,
> then the check of libaudit will fail even though the machine has
> the audit-libs-devel package installed.
>
> The check for -lelf is unneeded.

Ingo, this one is just for tip/master,

- Arnaldo

2010-12-01 09:14:16

by Don Zickus

[permalink] [raw]
Subject: [tip:perf/core] perf packaging: add memcpy to perf MANIFEST

Commit-ID: 3e8e24f2fc66d32eb0e570e4117dfd05227047e6
Gitweb: http://git.kernel.org/tip/3e8e24f2fc66d32eb0e570e4117dfd05227047e6
Author: Don Zickus <[email protected]>
AuthorDate: Tue, 30 Nov 2010 17:12:13 -0500
Committer: Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 30 Nov 2010 23:00:10 -0200

perf packaging: add memcpy to perf MANIFEST

There seems to be a new dependency on arch/*/lib/memcpy*.S when compiling
the perf tool. Make sure that file is included in the MANIFEST when
creating the tarball.

Cc: Ingo Molnar <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Don Zickus <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
tools/perf/MANIFEST | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/perf/MANIFEST b/tools/perf/MANIFEST
index 8c7fc0c..c12659d 100644
--- a/tools/perf/MANIFEST
+++ b/tools/perf/MANIFEST
@@ -7,6 +7,7 @@ include/linux/stringify.h
lib/rbtree.c
include/linux/swab.h
arch/*/include/asm/unistd*.h
+arch/*/lib/memcpy*.S
include/linux/poison.h
include/linux/magic.h
include/linux/hw_breakpoint.h