Skip to contentSkip to conversation

perf: remove dep on -lelf during libaudit check

PATCH Applied Don Zickus 3 participants 5 messages Nov 30, 2010 – Dec 1, 2010 perf events

lore
Share & tools
lore

Don Zickus

author
#0 lore raw

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.

---
 tools/perf/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/perf/Makefile +1 -1
index b3e6bc6..78ca0b5 100644
@@ -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
Signature · 1 line
1.7.3.2
author
#1 lore raw

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.

---
 tools/perf/MANIFEST |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
tools/perf/MANIFEST +1 -0
index 8c7fc0c..c12659d 100644
@@ -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
Signature · 1 line
1.7.3.2
#2 lore raw

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

Em Tue, Nov 30, 2010 at 05:12:13PM -0500, Don Zickus escreveu:

Quoted 5 lines

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.

Thanks, applied.

- Arnaldo

#3 lore raw

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

In reply to Don Zickus
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]>

---
 tools/perf/MANIFEST |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
tools/perf/MANIFEST +1 -0
index 8c7fc0c..c12659d 100644
@@ -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
#4 lore raw
In reply to Don Zickus

Em Tue, Nov 30, 2010 at 05:12:12PM -0500, Don Zickus escreveu:

Quoted 5 lines

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